👷 Fix CI error

This commit is contained in:
Eva Marco 2024-09-06 16:47:19 +02:00 committed by Andrey Antukh
parent eb720b053a
commit 3a4e9ccc5a
2 changed files with 1 additions and 11 deletions

View file

@ -152,16 +152,6 @@
(rx/of (rt/nav-raw href)))
(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
[]
(ptk/reify ::fetch-profile