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:
copilot-swe-agent[bot]
2026-03-26 19:34:38 +00:00
parent fd229d1b51
commit 412e7bc6f5
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -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")