mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 10:10:00 +02:00
👷 Fix CI error
This commit is contained in:
parent
eb720b053a
commit
3a4e9ccc5a
2 changed files with 1 additions and 11 deletions
|
@ -152,16 +152,6 @@
|
||||||
(rx/of (rt/nav-raw href)))
|
(rx/of (rt/nav-raw href)))
|
||||||
(rx/throw cause))))
|
(rx/throw cause))))
|
||||||
|
|
||||||
(defn- on-fetch-profile-exception
|
|
||||||
[cause]
|
|
||||||
(let [data (ex-data cause)]
|
|
||||||
(if (and (= :authorization (:type data))
|
|
||||||
(= :challenge-required (:code data)))
|
|
||||||
(let [path (rt/get-current-path)
|
|
||||||
href (str "/challenge.html?redirect=" path)]
|
|
||||||
(rx/of (rt/nav-raw href)))
|
|
||||||
(rx/throw cause))))
|
|
||||||
|
|
||||||
(defn fetch-profile
|
(defn fetch-profile
|
||||||
[]
|
[]
|
||||||
(ptk/reify ::fetch-profile
|
(ptk/reify ::fetch-profile
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue