From 179a5654e730de860f05778e3ab647c058662c7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marina=20L=C3=B3pez?= Date: Wed, 21 May 2025 14:38:11 +0200 Subject: [PATCH] :bug: Fix get current user for plugins api --- CHANGES.md | 1 + frontend/src/app/plugins/utils.cljs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index e58d4d9d9b..302afad663 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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) diff --git a/frontend/src/app/plugins/utils.cljs b/frontend/src/app/plugins/utils.cljs index 494d3f2126..758a6d648b 100644 --- a/frontend/src/app/plugins/utils.cljs +++ b/frontend/src/app/plugins/utils.cljs @@ -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.... (?)