This commit is contained in:
yumoqing 2025-08-08 17:47:56 +08:00
parent 76cbd6dd5b
commit 8355aacdab
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ async def get_callerid(orgid):
dbname = get_dbname()
db = DBPools()
async with db.sqlorContext(dbname) as sor:
return await sor_get_callerid(sor, orgid
return await sor_get_callerid(sor, orgid)
return None
async def sor_get_callerid(sor, orgid):

View File

@ -1,5 +1,5 @@
from ahserver.serverenv import ServerEnv
from .appapi import UAPI, deerer, bearer
from .appapi import UAPI, deerer, bearer, get_callerid, sor_get_callerid
def load_uapi():
g = ServerEnv()