From 7345cd237e32d182c163264c164798533634cfe5 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 12 Jun 2023 07:29:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20site.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/schemas/site.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/schemas/site.py b/app/schemas/site.py index 3c598ece..954d46c9 100644 --- a/app/schemas/site.py +++ b/app/schemas/site.py @@ -19,7 +19,7 @@ class Site(BaseModel): limit_interval: Optional[int] = 0 limit_count: Optional[int] = 0 limit_seconds: Optional[int] = 0 - is_active: Optional[str] = 'N' + is_active: Optional[bool] = True class Config: orm_mode = True