securis/src/main/java/net/curisit/securis/db/User.java
.. .. @@ -181,10 +181,10 @@ 181 181 } 182 182 183 183 @JsonProperty("organizations_ids") 184 - public List<Integer> getOrgsIds() {184 + public Set<Integer> getOrgsIds() {185 185 if (organizations == null) 186 186 return null; 187 - List<Integer> ids = new ArrayList<>();187 + Set<Integer> ids = new HashSet<>();188 188 for (Organization org : organizations) { 189 189 ids.add(org.getId()); 190 190 }