🐛 Fix unauthorized error on handoff on share-link.

This commit is contained in:
Andrey Antukh 2020-11-30 10:51:44 +01:00 committed by Hirunatan
parent 39db88c533
commit 4a7b5618ff
3 changed files with 28 additions and 21 deletions

View file

@ -161,10 +161,13 @@
:handoff
(let [file-id (get-in route [:path-params :file-id])
page-id (get-in route [:path-params :page-id])
index (get-in route [:query-params :index])]
index (get-in route [:query-params :index])
token (get-in route [:query-params :token])]
[:& handoff {:page-id page-id
:file-id file-id
:index index}])
:index index
:token token}])
:render-object
(do