Skip to content

Commit

Permalink
修改适配ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
Yanyutin753 authored Feb 14, 2024
1 parent d445213 commit 6eeadb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 6eeadb4

Please sign in to comment.