Make frontend use new cmd based repo methods for comments queries

This commit is contained in:
Andrey Antukh 2022-08-08 09:51:11 +02:00
parent 173f0d68bb
commit 0b3d25a890
5 changed files with 31 additions and 27 deletions

View file

@ -127,6 +127,10 @@
([id] (command id {}))
([id params] (command id params)))
(defn cmd!
([id] (command id {}))
([id params] (command id params)))
(defmethod command :login-with-oidc
[_ {:keys [provider] :as params}]
(let [uri (u/join base-uri "api/auth/oauth/" (d/name provider))