🐛 Fix get current user for plugins api

This commit is contained in:
Marina López 2025-05-21 14:38:11 +02:00
parent bc38bd6a9c
commit 179a5654e7
2 changed files with 2 additions and 1 deletions

View file

@ -82,6 +82,7 @@ A non exhaustive list of changes:
- Add styles for Inkeep Chat at workspace [Taiga #10708](https://tree.taiga.io/project/penpot/us/10708)
### :bug: Bugs fixed
- Fix getCurrentUser for plugins api [Taiga #11057](https://tree.taiga.io/project/penpot/issue/11057)
- Fix spacing / sizes of different elements in the measurements section of the design tab [Taiga #11076](https://tree.taiga.io/project/penpot/issue/11076)
- Fix selection of short paths [Github #4472](https://github.com/penpot/penpot/issues/4472)

View file

@ -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.... (?)