🐛 Fixed issue with shared token for logged users

This commit is contained in:
alonso.torres 2020-12-07 08:55:54 +01:00 committed by Alonso Torres
parent 489dc521e3
commit 1b5efa6ba2
4 changed files with 7 additions and 7 deletions

View file

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