Allow subscription to be nil

This commit is contained in:
Andrey Antukh 2025-04-24 10:46:04 +02:00
parent cffac2a56a
commit 4b81468c9c

View file

@ -204,7 +204,7 @@
(def ^:private schema:update-customer-subscription (def ^:private schema:update-customer-subscription
[:map [:map
[:id ::sm/uuid] [:id ::sm/uuid]
[:subscription schema:customer-subscription]]) [:subscription [:maybe schema:customer-subscription]]])
(def coerce-update-customer-subscription-params (def coerce-update-customer-subscription-params
(coercer schema:update-customer-subscription (coercer schema:update-customer-subscription