🐛 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

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