Add improvements to api doc

This commit is contained in:
Andrey Antukh 2023-08-08 13:44:16 +02:00
parent 695152274c
commit 36b167956c
7 changed files with 17 additions and 8 deletions

View file

@ -34,7 +34,8 @@
(sv/defmethod ::verify-token
{::rpc/auth false
::doc/added "1.15"}
::doc/added "1.15"
::doc/module :auth}
[{:keys [::db/pool] :as cfg} {:keys [token] :as params}]
(db/with-atomic [conn pool]
(let [claims (tokens/verify (::main/props cfg) {:token token})