main #143

Merged
charles merged 20 commits from main into prod 2026-07-23 10:04:01 +08:00
Showing only changes of commit 144b3afbc8 - Show all commits

View File

@ -35,6 +35,8 @@ async def get_user_balance(ns={}):
}
orgid = await sor.R('organization', {'id': user[0]['orgid']})
balance = await getCustomerBalance(sor, orgid[0]['id'])
ns['balance'] = balance
debug(ns)
return {
'status': 'ok',
'balance': balance