0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-28 15:41:25 -05:00

👷 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

View file

@ -13,7 +13,7 @@
[app.main.data.events :as ev]
[app.util.browser-history :as bhistory]
[app.util.dom :as dom]
[app.util.globals :as globals]
[app.util.globals :as globals]
[app.util.timers :as ts]
[beicon.v2.core :as rx]
[cuerdas.core :as str]