fix(rtc,e2ee): fix grant-access

This commit is contained in:
rcmerci
2025-11-09 21:30:21 +08:00
committed by Tienson Qin
parent 219d9ad201
commit de2c005b71

View File

@@ -172,8 +172,8 @@
(when-let [graph-aes-key (m/? (task--get-aes-key get-ws-create-task user-uuid graph-uuid))]
(let [{:keys [public-key] :as response}
(m/? (ws-util/send&recv get-ws-create-task
{:action "fetch-user-rsa-key-pair"
:user-email other-user-email}))]
{:action "fetch-user-rsa-public-key"
:user/email other-user-email}))]
(if (:ex-data response)
(throw (ex-info (:ex-message response) (:ex-data response)))
(when public-key