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 committed 2026-06-14 22:19:28 +08:00
1 parent 747f0a08c7
commit 8b42d0760e
6 files changed
+107 -33

No files matched your search

+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;