mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 10:16:36 +02:00
🐛 Fixed issue with shared token for logged users
This commit is contained in:
parent
489dc521e3
commit
1b5efa6ba2
4 changed files with 7 additions and 7 deletions
|
@ -65,7 +65,7 @@
|
|||
(assoc bundle :token token))
|
||||
(let [stoken (retrieve-shared-token conn file-id page-id)]
|
||||
(files/check-read-permissions! conn profile-id file-id)
|
||||
(assoc bundle :share-token (:token stoken)))))))
|
||||
(assoc bundle :token (:token stoken)))))))
|
||||
|
||||
(defn check-shared-token!
|
||||
[conn file-id page-id token]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue