This commit is contained in:
baiqwerdvd 2024-12-09 14:58:47 +08:00
parent 37b992ce47
commit 32aee7d20d
No known key found for this signature in database
GPG Key ID: 7717E46E1797411A

View File

@ -3,6 +3,7 @@ import hmac
import json
import time
from copy import deepcopy
from tokenize import Token
from typing import Any, Dict, Literal, Tuple, Union, cast
from urllib.parse import urlparse
@ -134,7 +135,7 @@ class BaseArkApi:
if token is None:
logger.info(f"token is None {uid}")
return -60
is_vaild = await self.check_cred_valid(uid)
is_vaild = await self.check_cred_valid(cred=cred, token=Token)
logger.info(f"is_vaild {is_vaild}")
if isinstance(is_vaild, bool):
# await ArknightsUser.delete_user_data_by_uid(uid)