mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 00:10:11 -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
|
||||
[{:keys [features] :as row}]
|
||||
(when row
|
||||
(cond-> row
|
||||
features (assoc :features (db/decode-pgarray features #{})))))
|
||||
(cond-> row
|
||||
(some? features) (assoc :features (db/decode-pgarray features #{}))))
|
||||
|
||||
;; --- Query: Teams
|
||||
|
||||
|
@ -187,7 +186,6 @@
|
|||
(when-not result
|
||||
(ex/raise :type :not-found
|
||||
:code :team-does-not-exist))
|
||||
|
||||
(-> result
|
||||
(decode-row)
|
||||
(process-permissions))))
|
||||
|
|
Loading…
Reference in a new issue