From 7d9e45379b7ef44c3ffb807518eae68feb2b2edc Mon Sep 17 00:00:00 2001 From: rcmerci Date: Mon, 24 Feb 2025 22:57:18 +0800 Subject: [PATCH] fix: ensure token not empty --- src/main/frontend/handler/db_based/rtc_flows.cljs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/frontend/handler/db_based/rtc_flows.cljs b/src/main/frontend/handler/db_based/rtc_flows.cljs index 442abb894d..3fd99e7edd 100644 --- a/src/main/frontend/handler/db_based/rtc_flows.cljs +++ b/src/main/frontend/handler/db_based/rtc_flows.cljs @@ -101,4 +101,5 @@ conditions: (keep (fn [repo] (when repo [:trigger-rtc repo]))) (m/watch *rtc-start-trigger))] (apply c.m/mix) + (m/eduction (filter (fn [_] (some? (state/get-auth-id-token))))) (c.m/debounce 200)))