mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 11:46:37 +02:00
✨ Include project name on files queries.
Just for convenience.
This commit is contained in:
parent
51058dd83a
commit
34d33a2d83
3 changed files with 5 additions and 19 deletions
|
@ -23,6 +23,7 @@
|
|||
(s/def ::token ::us/string)
|
||||
(s/def ::user ::us/uuid)
|
||||
|
||||
|
||||
;; --- Query: Projects
|
||||
|
||||
(su/defstr sql:projects
|
||||
|
@ -41,6 +42,7 @@
|
|||
(-> (db/query db/pool [sql:projects user])
|
||||
(p/then' (partial mapv decode-row))))
|
||||
|
||||
|
||||
;; --- Helpers
|
||||
|
||||
(defn decode-row
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue