Commit 654408c8 by chamberone
2 parents f7e102d9 02558695
...@@ -158,10 +158,10 @@ public class UserService { ...@@ -158,10 +158,10 @@ public class UserService {
} }
return orgs; return orgs;
}).flatMap(a -> a.stream()).collect(Collectors.toList()); }).flatMap(a -> a.stream()).collect(Collectors.toList());
if (CollectionUtils.isNotEmpty(allOrgs)) { // if (CollectionUtils.isNotEmpty(allOrgs)) {
log.info("allOrgs {}", allOrgs.get(0)); // log.info("allOrgs {}", allOrgs.get(0));
allOrgs.get(0).setIsActive(true); // allOrgs.get(0).setIsActive(true);
} // }
userDTO.setAuths(allOrgs); userDTO.setAuths(allOrgs);
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!