fix(webui): harden automation management API

Maintainer edit: redact external channel chat identifiers from the WebUI automation payload and reject malformed or unschedulable automation updates before they mutate cron jobs.
This commit is contained in:
chengyongru
2026-06-14 22:19:28 +08:00
parent 747f0a08c7
commit 8b42d0760e
6 changed files with 107 additions and 33 deletions
+2 -2
View File
@@ -132,9 +132,9 @@ export interface SessionAutomationJob {
}>;
};
origin?: {
session_key: string;
session_key?: string;
channel: string;
chat_id: string;
chat_id?: string;
title?: string;
preview?: string;
} | null;