From 0b017fc0eb0a1deeb0b698678574eadc28baec90 Mon Sep 17 00:00:00 2001 From: 0x24a Date: Sun, 15 Sep 2024 15:19:11 +0800 Subject: [PATCH] sorry i am a fucking idiot --- hvicorn/models/server/online_add.py | 2 +- hvicorn/models/server/online_set.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hvicorn/models/server/online_add.py b/hvicorn/models/server/online_add.py index ade0955..2a9662c 100644 --- a/hvicorn/models/server/online_add.py +++ b/hvicorn/models/server/online_add.py @@ -3,7 +3,7 @@ class OnlineAddPackage(BaseModel): - channel: Optional[str] + channel: Optional[str] = None cmd: str color: Union[bool, str] hash: str diff --git a/hvicorn/models/server/online_set.py b/hvicorn/models/server/online_set.py index dcf1a5e..21d1acc 100644 --- a/hvicorn/models/server/online_set.py +++ b/hvicorn/models/server/online_set.py @@ -3,7 +3,7 @@ class User(BaseModel): - channel: Optional[str] + channel: Optional[str] = None color: Union[str, bool] hash: str isBot: bool