diff --git a/src/blrec/setting/models.py b/src/blrec/setting/models.py index daa0232..75231a3 100644 --- a/src/blrec/setting/models.py +++ b/src/blrec/setting/models.py @@ -315,7 +315,7 @@ class TaskOptions(BaseModel): class TaskSettings(TaskOptions): # must use the real room id rather than the short room id! - room_id: Annotated[int, Field(ge=1, le=99999999)] + room_id: Annotated[int, Field(ge=1, lt=2**32)] enable_monitor: bool = True enable_recorder: bool = True