From fba8d92952f705fc75be67e484691e5b39156c76 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 23 Jul 2025 15:27:07 +0800 Subject: [PATCH] bugdix --- uapi/appapi.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) 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={}):