From b4cb9c3fb39f3b55e3961225a75dde43df69c5ce Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 7 Jan 2024 18:24:13 +0800 Subject: [PATCH] fix --- app/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index 171f5574..fe954d8a 100644 --- a/app/main.py +++ b/app/main.py @@ -27,8 +27,7 @@ from app.helper.sites import SitesHelper from app.helper.message import MessageHelper from app.scheduler import Scheduler from app.command import Command, CommandChian -from app.schemas import Notification - +from app.schemas import Notification, NotificationType # App App = FastAPI(title=settings.PROJECT_NAME, @@ -150,6 +149,7 @@ def check_auth(): MessageHelper().put(f"注意:{err_msg}") CommandChian().post_message( Notification( + mtype=NotificationType.Manual, title="MoviePilot用户认证", text=err_msg )