mirror of https://github.com/logseq/logseq
enhance: subscribe to id-token for reactive change
parent
1093fe272e
commit
3210d17881
|
@ -1872,7 +1872,7 @@ Similar to re-frame subscriptions"
|
|||
(set-state! :auth/access-token access-token))
|
||||
|
||||
(defn get-auth-id-token []
|
||||
(:auth/id-token @state))
|
||||
(sub :auth/id-token))
|
||||
|
||||
(defn get-auth-refresh-token []
|
||||
(:auth/refresh-token @state))
|
||||
|
|
Loading…
Reference in New Issue