mirror of
https://github.com/penpot/penpot.git
synced 2025-04-10 14:01:29 -05:00
🐛 Fix unexpected unauthorized exception on read team members.
This commit is contained in:
parent
b7a90eb4e4
commit
4fbd2e6caa
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@
|
|||
(sv/defmethod ::team-members
|
||||
[{:keys [pool] :as cfg} {:keys [profile-id team-id]}]
|
||||
(with-open [conn (db/open pool)]
|
||||
(check-edition-permissions! conn profile-id team-id)
|
||||
(check-read-permissions! conn profile-id team-id)
|
||||
(retrieve-team-members conn team-id)))
|
||||
|
||||
(def sql:team-members
|
||||
|
|
Loading…
Add table
Reference in a new issue