Skip to content

Commit

Permalink
Merge pull request #70 from ianmcorvidae/user-exists
Browse files Browse the repository at this point in the history
Fix user-exists? arity issue
  • Loading branch information
ianmcorvidae authored Oct 18, 2024
2 parents d81ed33 + d2cc01b commit fe33ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data_info/services/groups.clj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
;; still be updated if a few don't exist in irods
;(validators/all-users-exist cm members)
(let [current-members (set (users/list-group-members cm group-name))
desired-members (set (map di-users/ensure-qualified (filter users/user-exists? members)))
desired-members (set (map di-users/ensure-qualified (filter #(users/user-exists? cm %) members)))

members-to-add (cset/difference desired-members current-members)
members-to-remove (cset/difference current-members desired-members)
Expand Down

0 comments on commit fe33ae6

Please sign in to comment.