mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-10-20 00:03:19 -04:00
review fixes
This commit is contained in:
1 parent
22695a633c
commit
3ee21ac830
9 files changed
+169
-170
No files matched your search
@@ -275,7 +275,7 @@ class UpdateDeviceColumnRequest(BaseModel):
|
||||
|
||||
class LockDeviceFieldRequest(BaseModel):
|
||||
"""Request to lock/unlock a device field."""
|
||||
fieldName: str = Field(..., description="Field name to lock/unlock (devMac, devName, devLastIP, etc.)")
|
||||
fieldName: Optional[str] = Field(None, description="Field name to lock/unlock (devMac, devName, devLastIP, etc.)")
|
||||
lock: bool = Field(True, description="True to lock the field, False to unlock")
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user