fix: make NotificationConfigBase.name optional with default 'My Notification' to match DB default
Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/7640aaa6-61f4-4c65-8eb7-f33c2d3eb755 Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
@@ -290,7 +290,9 @@ class PaginatedAdminLogsResponse(BaseModel):
|
||||
# Notification Config Schemas
|
||||
class NotificationConfigBase(BaseModel):
|
||||
name: str = Field(
|
||||
..., max_length=255, description="Friendly name for this notification channel"
|
||||
default="My Notification",
|
||||
max_length=255,
|
||||
description="Friendly name for this notification channel",
|
||||
)
|
||||
channel: NotificationChannel
|
||||
apprise_url: Optional[str] = Field(None, description="Apprise notification URL")
|
||||
|
||||
Reference in New Issue
Block a user