mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-05 22:57:40 +03:00
Revert "fix: add field_validator for users to handle single-string input"
This commit is contained in:
parent
de38c34e84
commit
bc0601bf42
@ -36,11 +36,3 @@ class CameraGroupConfig(FrigateBaseModel):
|
||||
return [v]
|
||||
|
||||
return v
|
||||
|
||||
@field_validator("users", mode="before")
|
||||
@classmethod
|
||||
def validate_users(cls, v):
|
||||
if isinstance(v, str):
|
||||
return [v]
|
||||
|
||||
return v
|
||||
|
||||
Loading…
Reference in New Issue
Block a user