mirror of
https://github.com/penpot/penpot.git
synced 2025-07-25 15:47:18 +02:00
🐛 Fix get current user for plugins api
This commit is contained in:
parent
bc38bd6a9c
commit
179a5654e7
2 changed files with 2 additions and 1 deletions
|
@ -59,7 +59,7 @@
|
|||
(defn locate-profile
|
||||
[session-id]
|
||||
(let [{:keys [profile-id]} (locate-presence session-id)]
|
||||
(dm/get-in @st/state [:users profile-id])))
|
||||
(dm/get-in @st/state [:profiles profile-id])))
|
||||
|
||||
;; FIXME: the impl looks strange: objects is passed by parameters but
|
||||
;; then the rest of the file is looked up directly from state.... (?)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue