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:
1 parent
747f0a08c7
commit
8b42d0760e
6 files changed
+107
-33
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user