@@ -433,7 +433,7 @@ public class PublicController extends BaseController {
return res;
}
- if (!UserType.ORGANIZATION.getCode().equals(type) || !UserType.PERSONAL.getCode().equals(type)) {
+ if (!UserType.ORGANIZATION.getCode().equals(type) && !UserType.PERSONAL.getCode().equals(type)) {
res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "type"));