From 6eeadb49ac0a3a524ea9cdc29e2f725b16656ad3 Mon Sep 17 00:00:00 2001 From: Clivia <132346501+Yanyutin753@users.noreply.github.com> Date: Wed, 14 Feb 2024 21:10:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=80=82=E9=85=8Dninja?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 2e9ee1d..8fc1a53 100644 --- a/main.py +++ b/main.py @@ -198,7 +198,7 @@ def oaiGetAccessToken(refresh_token): # ninja获得access_token -def ninjaGetAccessToken(refresh_token, getAccessTokenUrl): +def ninjaGetAccessToken(getAccessTokenUrl, refresh_token): try: logger.info("将通过这个网址请求access_token:" + getAccessTokenUrl) headers = {"Authorization": "Bearer " + refresh_token}