This commit is contained in:
shenjack-5600u 2024-02-02 22:24:44 +08:00
parent 33abea4b5b
commit 680df057e3
Signed by: shenjack
GPG Key ID: FDF9864E11C7E79F

View File

@ -39,11 +39,6 @@ async def require_auth(salt: str, versions: Dict[str, str]):
logger.info(f"{Fore.BLUE}send auth emit")
# @sio.on('requireAuth')
# def require_auth(*data: Dict[str, Any]):
# logger.info(f"{Fore.BLUE}requireAuth: {data}")
@sio.on("auth") # type: ignore
def auth(data: Dict[str, Any]):
logger.info(f"auth: {data}")