bugdix
This commit is contained in:
parent
b9c02abfda
commit
fba8d92952
@ -63,10 +63,8 @@ async def dearer_header(request, appid):
|
||||
if r is None:
|
||||
return None
|
||||
dearer = build_dearerdata(r.apikey)
|
||||
return {
|
||||
"Authorization": dearer
|
||||
}
|
||||
return {}
|
||||
return dearer
|
||||
return None
|
||||
|
||||
async def manis_header(request, appid):
|
||||
db = DBPools()
|
||||
@ -77,10 +75,8 @@ async def manis_header(request, appid):
|
||||
if r is None:
|
||||
return None
|
||||
manis = build_manisdata(r.myid, r.apikey, r.secretkey)
|
||||
return {
|
||||
"Authorization": manis
|
||||
}
|
||||
return {}
|
||||
return manis
|
||||
return None
|
||||
|
||||
class UAPI:
|
||||
def __init__(self, env={}):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user