fix(billing): use admin_adjust ledger reason for setImageQuota
Memind CI / Test, build, and release guards (push) Successful in 4m19s

Production ledger reason column is ENUM and rejects admin_set.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-05 16:24:24 +08:00
parent f488d49d51
commit d9db72fd90
+1 -1
View File
@@ -775,7 +775,7 @@ export function createSubscriptionService(pool, { getPlanAsync = null } = {}) {
userId,
delta: ledgerDelta,
balanceAfter: quota.unlimited ? null : quota.remaining,
reason: 'admin_set',
reason: 'admin_adjust',
operatorId,
note,
});