mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 04:46:10 +02:00
🐛 Fix issues on files and project rpc methods.
This commit is contained in:
parent
ecd020eec2
commit
645954bc7c
5 changed files with 333 additions and 180 deletions
|
@ -155,6 +155,7 @@
|
|||
:hint "A file cannot be linked to itself"))
|
||||
(db/with-atomic [conn pool]
|
||||
(files/check-edition-permissions! conn profile-id file-id)
|
||||
(files/check-edition-permissions! conn profile-id library-id)
|
||||
(link-file-to-library conn params)))
|
||||
|
||||
(def sql:link-file-to-library
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue