fix(billing): use admin_adjust ledger reason for setImageQuota
Memind CI / Test, build, and release guards (push) Successful in 4m19s
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:
@@ -775,7 +775,7 @@ export function createSubscriptionService(pool, { getPlanAsync = null } = {}) {
|
|||||||
userId,
|
userId,
|
||||||
delta: ledgerDelta,
|
delta: ledgerDelta,
|
||||||
balanceAfter: quota.unlimited ? null : quota.remaining,
|
balanceAfter: quota.unlimited ? null : quota.remaining,
|
||||||
reason: 'admin_set',
|
reason: 'admin_adjust',
|
||||||
operatorId,
|
operatorId,
|
||||||
note,
|
note,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user