0
Fork 0
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:
Andrey Antukh 2023-11-28 14:16:57 +01:00
commit c97362aee4

View file

@ -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))))