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