From 65c8f35f6d3568b4cf4de55390f15cffdbfcf1f6 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 15 Aug 2024 11:45:23 +0800 Subject: [PATCH] fix types --- app/schemas/types.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/schemas/types.py b/app/schemas/types.py index 3703798a..41b24f15 100644 --- a/app/schemas/types.py +++ b/app/schemas/types.py @@ -131,13 +131,15 @@ class NotificationType(Enum): # 订阅 Subscribe = "订阅" # 站点消息 - SiteMessage = "站点消息" + SiteMessage = "站点" # 媒体服务器通知 - MediaServer = "媒体服务器通知" + MediaServer = "媒体服务器" # 处理失败需要人工干预 - Manual = "手动处理通知" + Manual = "手动处理" # 插件消息 - Plugin = "插件消息" + Plugin = "插件" + # 其它消息 + Other = "其它" # 消息渠道