Add logging for management update-customer method

This commit is contained in:
Andrey Antukh 2025-08-27 12:02:39 +02:00
parent 5fed5fa158
commit a114e9adb0
1 changed files with 7 additions and 0 deletions

View File

@ -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}