Antiloveg пре 8 година
родитељ
комит
5a1f076f6f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/main/java/com/goafanti/common/controller/PublicController.java

+ 1 - 1
src/main/java/com/goafanti/common/controller/PublicController.java

@@ -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"));
 			return res;
 		}