bugfix
This commit is contained in:
parent
e1ede5c707
commit
5679161bb6
@ -9,8 +9,9 @@ def gethostinfo(hostdev):
|
|||||||
})
|
})
|
||||||
|
|
||||||
db = DBPools()
|
db = DBPools()
|
||||||
|
dbname = get_module_dbname('msp')
|
||||||
userid = await get_user()
|
userid = await get_user()
|
||||||
async with db.sqlorContext('msp') as sor:
|
async with db.sqlorContext(dbname) as sor:
|
||||||
ns = {
|
ns = {
|
||||||
# "ownerid":userid,
|
# "ownerid":userid,
|
||||||
"id":params_kw.hostid
|
"id":params_kw.hostid
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user