bugfix
This commit is contained in:
parent
da195760af
commit
ccc4831043
@ -18,6 +18,6 @@ async with db.sqlorContext(dbname) as sor:
|
|||||||
'roleid':'admin'
|
'roleid':'admin'
|
||||||
}
|
}
|
||||||
await sor.C('userrole', ns.copy())
|
await sor.C('userrole', ns.copy())
|
||||||
return UiMesage(title='Success', message='admin user added')
|
return UiMessage(title='Success', message='admin user added')
|
||||||
return UiError(title='Error', message='Error happened when add admin user')
|
return UiError(title='Error', message='Error happened when add admin user')
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user