Explorar el Código

fix: ensure token not empty

rcmerci hace 7 meses
padre
commit
7d9e45379b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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)))