diff --git a/backend/src/app/http/management.clj b/backend/src/app/http/management.clj index 12f9659c25..929cda32fd 100644 --- a/backend/src/app/http/management.clj +++ b/backend/src/app/http/management.clj @@ -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}