Skip to content

Commit

Permalink
Rename ex-admin to revoked-admin
Browse files Browse the repository at this point in the history
  • Loading branch information
skydread1 committed Aug 4, 2023
1 parent b346f4a commit ce1def1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/src/flybot/common/validation.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
'?alt "Image Description"
'?new-admin "Grant Admin Role"
'?new-owner "Grant Owner Role"
'?ex-admin "Revoke Admin Role"})
'?revoked-admin "Revoke Admin Role"})

(defn error-msg
[errors]
Expand All @@ -151,7 +151,7 @@
:image/alt ?alt}
:new-role {:admin {:user/email ?new-admin}
:owner {:user/email ?new-owner}}
:revoked-role {:admin {:user/email ?ex-admin}}}))
:revoked-role {:admin {:user/email ?revoked-admin}}}))
(dissoc '&?)
(#(into {} (remove (comp nil? val) %)))
(set/rename-keys humanize-keys)
Expand Down

0 comments on commit ce1def1

Please sign in to comment.