mirror of https://github.com/penpot/penpot.git
✨ Add logging for management update-customer method
This commit is contained in:
parent
5fed5fa158
commit
a114e9adb0
|
|
@ -7,6 +7,7 @@
|
|||
(ns app.http.management
|
||||
"Internal mangement HTTP API"
|
||||
(:require
|
||||
[app.common.logging :as l]
|
||||
[app.common.schema :as sm]
|
||||
[app.common.schema.generators :as sg]
|
||||
[app.common.time :as ct]
|
||||
|
|
@ -218,6 +219,12 @@
|
|||
props
|
||||
(assoc props :subscription subscription)]
|
||||
|
||||
(l/dbg :hint "update customer"
|
||||
:profile-id (str id)
|
||||
:subscription-type (get subscription :type)
|
||||
:subscription-status (get subscription :status)
|
||||
:subscription-quantity (get subscription :quantity))
|
||||
|
||||
(db/update! cfg :profile
|
||||
{:props (db/tjson props)}
|
||||
{:id id}
|
||||
|
|
|
|||
Loading…
Reference in New Issue