mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 15:39:50 -05:00
Merge remote-tracking branch 'origin/staging' into develop
This commit is contained in:
commit
c97362aee4
1 changed files with 2 additions and 4 deletions
|
@ -82,9 +82,8 @@
|
||||||
|
|
||||||
(defn decode-row
|
(defn decode-row
|
||||||
[{:keys [features] :as row}]
|
[{:keys [features] :as row}]
|
||||||
(when row
|
(cond-> row
|
||||||
(cond-> row
|
(some? features) (assoc :features (db/decode-pgarray features #{}))))
|
||||||
features (assoc :features (db/decode-pgarray features #{})))))
|
|
||||||
|
|
||||||
;; --- Query: Teams
|
;; --- Query: Teams
|
||||||
|
|
||||||
|
@ -187,7 +186,6 @@
|
||||||
(when-not result
|
(when-not result
|
||||||
(ex/raise :type :not-found
|
(ex/raise :type :not-found
|
||||||
:code :team-does-not-exist))
|
:code :team-does-not-exist))
|
||||||
|
|
||||||
(-> result
|
(-> result
|
||||||
(decode-row)
|
(decode-row)
|
||||||
(process-permissions))))
|
(process-permissions))))
|
||||||
|
|
Loading…
Add table
Reference in a new issue