mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 06:38:22 +02:00
Revert "✨ Improve internal naming of setup/props"
This reverts commit f525c6df5e
.
This commit is contained in:
parent
5f0b86e0df
commit
a6f70c77cb
18 changed files with 56 additions and 70 deletions
|
@ -18,7 +18,6 @@
|
|||
[app.rpc.doc :as-alias doc]
|
||||
[app.rpc.helpers :as rph]
|
||||
[app.rpc.quotes :as quotes]
|
||||
[app.setup :as-alias setup]
|
||||
[app.tokens :as tokens]
|
||||
[app.tokens.spec.team-invitation :as-alias spec.team-invitation]
|
||||
[app.util.services :as sv]
|
||||
|
@ -39,7 +38,7 @@
|
|||
::doc/module :auth}
|
||||
[{:keys [::db/pool] :as cfg} {:keys [token] :as params}]
|
||||
(db/with-atomic [conn pool]
|
||||
(let [claims (tokens/verify (::setup/props cfg) {:token token})
|
||||
(let [claims (tokens/verify (::main/props cfg) {:token token})
|
||||
cfg (assoc cfg :conn conn)]
|
||||
(process-token cfg params claims))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue