0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-09 00:28:20 -05:00

Allow attach context to audit entry from metadata

This commit is contained in:
Andrey Antukh 2024-02-27 17:04:18 +01:00 committed by Andrés Moya
parent ef632bcae7
commit 606aeeb38f

View file

@ -150,8 +150,9 @@
(clean-props)) (clean-props))
token-id (::actoken/id request) token-id (::actoken/id request)
context (d/without-nils context (-> (::context resultm)
{:access-token-id (some-> token-id str)})] (assoc :access-token-id (some-> token-id str))
(d/without-nils))]
{::type (or (::type resultm) {::type (or (::type resultm)
(::rpc/type cfg)) (::rpc/type cfg))