mirror of
https://github.com/b3nw/nginx-proxy-manager-mcp.git
synced 2026-05-20 07:35:47 -05:00
fix: Allow locations to be null in ProxyHost model
This commit is contained in:
@@ -93,7 +93,7 @@ class ProxyHost(BaseModel):
|
||||
advanced_config: str = ""
|
||||
enabled: bool = True
|
||||
meta: dict[str, Any] = Field(default_factory=dict)
|
||||
locations: list[ProxyHostLocation] = Field(default_factory=list)
|
||||
locations: list[ProxyHostLocation] | None = None
|
||||
# Optional expanded relations
|
||||
owner: Owner | None = None
|
||||
certificate: Certificate | None = None
|
||||
|
||||
Reference in New Issue
Block a user