This commit is contained in:
yumoqing 2026-04-08 13:43:29 +08:00
parent f04917363d
commit 65e6ed36c5

View File

@ -112,7 +112,7 @@ where b.orgid = c.ownerid
raise e
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)
i = randint(0, cnt - 1)
return users[i].userid