mirror of
https://github.com/penpot/penpot.git
synced 2025-07-18 02:57:13 +02:00
🐛 Fix unauthorized error on handoff on share-link.
This commit is contained in:
parent
39db88c533
commit
4a7b5618ff
3 changed files with 28 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue