From 69ef219a718df6ce4b8d99aba05b8a3ff31c55eb Mon Sep 17 00:00:00 2001 From: rcmerci Date: Wed, 25 Oct 2023 13:50:22 +0800 Subject: [PATCH] enhance(rtc): grant access api support emails --- src/main/frontend/db/rtc/core.cljs | 5 +++-- src/main/frontend/db/rtc/debug_ui.cljs | 12 ++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/main/frontend/db/rtc/core.cljs b/src/main/frontend/db/rtc/core.cljs index cdf6642ef2..f89e4a6a99 100644 --- a/src/main/frontend/db/rtc/core.cljs +++ b/src/main/frontend/db/rtc/core.cljs @@ -636,13 +636,14 @@ (defn @(::grant-access-to-user state) parse-uuid)] + (let [user-uuid (some-> @(::grant-access-to-user state) parse-uuid) + user-email (when-not user-uuid @(::grant-access-to-user state))] (when-let [graph-uuid @(::graph-uuid state)] - (