Report account-balance evaluate results and fall back to cached balances.

EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-17 21:52:57 +03:30
co-authored by Cursor
parent de23e4d505
commit 5fbdb4495f
4 changed files with 180 additions and 34 deletions
@@ -34,8 +34,7 @@ export class AccountBalancesController {
/** اجرای دستی همان جاب دوره‌ای برای محیط جاری */
@Post('evaluate')
@Roles('owner', 'admin')
async evaluate(@CurrentUser() user: Actor) {
await this.claims.evaluateOrganization(user.organizationId);
return { ok: true };
evaluate(@CurrentUser() user: Actor) {
return this.claims.evaluateOrganization(user.organizationId);
}
}