bugfix
This commit is contained in:
parent
f04917363d
commit
65e6ed36c5
@ -112,7 +112,7 @@ where b.orgid = c.ownerid
|
|||||||
raise e
|
raise e
|
||||||
|
|
||||||
async def get_calluserid(self, appid, orgid=None):
|
async def get_calluserid(self, appid, orgid=None):
|
||||||
users = await get_apiusers(appid, orgid=orgid)
|
users = await self.get_apiusers(appid, orgid=orgid)
|
||||||
cnt = len(users)
|
cnt = len(users)
|
||||||
i = randint(0, cnt - 1)
|
i = randint(0, cnt - 1)
|
||||||
return users[i].userid
|
return users[i].userid
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user