fix storage api

This commit is contained in:
jxxghp
2024-08-15 16:15:26 +08:00
parent 47481d2482
commit 61e4e63a6a
9 changed files with 53 additions and 20 deletions

View File

@@ -14,7 +14,7 @@ lock = Lock()
class SynologyChat:
def __init__(self, webhook: str, token: str, **kwargs):
def __init__(self, webhook: str = None, token: str = None, **kwargs):
if not webhook or not token:
logger.error("SynologyChat配置不完整")
return