diff --git a/uapi/appapi.py b/uapi/appapi.py index c8edccc..3cabe6d 100644 --- a/uapi/appapi.py +++ b/uapi/appapi.py @@ -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={}):