mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 15:01:39 +02:00
🔥 Remove unused media related api.
This commit is contained in:
parent
b71d5d26a6
commit
b2957c5f35
8 changed files with 10 additions and 216 deletions
|
@ -202,10 +202,7 @@
|
|||
|
||||
(defn retrieve-file-users
|
||||
[conn id]
|
||||
(->> (db/exec! conn [sql:file-users id id])
|
||||
;; TODO: seems like the frontend is no longer uses :photo-uri,
|
||||
;; so this can be removed probably.
|
||||
(mapv #(media/resolve-media-uris % [:photo :photo-uri]))))
|
||||
(db/exec! conn [sql:file-users id id]))
|
||||
|
||||
(s/def ::file-users
|
||||
(s/keys :req-un [::profile-id ::id]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue