From 6320f06b4c5cb2f73a67430f729661944e680d1f Mon Sep 17 00:00:00 2001 From: mosh Date: Fri, 10 Jan 2025 22:25:40 +0800 Subject: [PATCH] fix: ensure room_id scope --- src/blrec/setting/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blrec/setting/models.py b/src/blrec/setting/models.py index 75231a3b..20007f99 100644 --- a/src/blrec/setting/models.py +++ b/src/blrec/setting/models.py @@ -315,7 +315,7 @@ def from_settings(cls, settings: TaskSettings) -> TaskOptions: class TaskSettings(TaskOptions): # must use the real room id rather than the short room id! - room_id: Annotated[int, Field(ge=1, lt=2**32)] + room_id: Annotated[int, Field(ge=1, lt=2**100)] enable_monitor: bool = True enable_recorder: bool = True