bugfix
This commit is contained in:
parent
66299b029b
commit
d29850c297
@ -3,7 +3,12 @@ db = DBPools()
|
||||
dbname = await rfexe('get_module_dbname', 'sage')
|
||||
async with db.sqlorContext(dbname) as sor:
|
||||
orgid = await register_user(sor, params_kw)
|
||||
# ownerid = await get_owner_orgid(sor)
|
||||
# await openCustomerAccounts(sor, ownerid, orgid)
|
||||
try:
|
||||
ownerid = await get_owner_orgid(sor)
|
||||
await openCustomerAccounts(sor, ownerid, orgid)
|
||||
except Exception as e:
|
||||
fe = format_exc()
|
||||
exception(f'{e=}\n{fe}')
|
||||
|
||||
return UiMessage(title="Success", message="register success")
|
||||
return UiError(title='Error', message="register failed")
|
||||
|
Loading…
Reference in New Issue
Block a user