bugfi
This commit is contained in:
parent
2aa989d738
commit
00fb327533
@ -1,7 +1,7 @@
|
||||
debug(f'{params_kw=}')
|
||||
env = request._run_ns
|
||||
providers = await get_platform_providers()
|
||||
async with db.sqlorContext(env, 'accounting') as sor:
|
||||
async with get_sor_context(env, 'accounting') as sor:
|
||||
for p in providers:
|
||||
await openProviderAccounts(sor, '0', p.id)
|
||||
return f'{p} provider accounts opened'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user