浏览代码

fix: ensure token not empty

rcmerci 7 月之前
父节点
当前提交
7d9e45379b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/frontend/handler/db_based/rtc_flows.cljs

+ 1 - 0
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)))