carlossortega commented on code in PR #4442:
URL: https://github.com/apache/fineract/pull/4442#discussion_r1992208832


##########
fineract-provider/src/main/java/org/apache/fineract/useradministration/service/AppUserWritePlatformServiceJpaRepositoryImpl.java:
##########
@@ -102,7 +102,9 @@ public CommandProcessingResult createUser(final JsonCommand 
command) {
             final Set<Role> allRoles = assembleSetOfRoles(roles);
 
             final String staffIdParamName = "staffId";
-            final Long staffId = 
command.longValueOfParameterNamed(staffIdParamName);
+            final Long staffId = 
command.longValueOfParameterNamed(staffIdParamName) != 0

Review Comment:
   @adamsaghy done.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to