mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-04 23:17:20 +08:00
fix workflow message link
This commit is contained in:
@@ -4,6 +4,7 @@ from pydantic import Field
|
|||||||
|
|
||||||
from app.actions import BaseAction, ActionChain
|
from app.actions import BaseAction, ActionChain
|
||||||
from app.schemas import ActionParams, ActionContext, Notification
|
from app.schemas import ActionParams, ActionContext, Notification
|
||||||
|
from core.config import settings
|
||||||
|
|
||||||
|
|
||||||
class SendMessageParams(ActionParams):
|
class SendMessageParams(ActionParams):
|
||||||
@@ -65,7 +66,7 @@ class SendMessageAction(BaseAction):
|
|||||||
userid=params.userid,
|
userid=params.userid,
|
||||||
title="【工作流执行结果】",
|
title="【工作流执行结果】",
|
||||||
text=msg_text,
|
text=msg_text,
|
||||||
link="#/workflow"
|
link=settings.MP_DOMAIN("#/workflow")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user