mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-21 19:15:47 +00:00
This commit is contained in:
parent
87d05592ea
commit
09f49cd921
1 changed files with 2 additions and 1 deletions
|
|
@ -129,7 +129,8 @@ function validateTelegramDeliveryTarget(to: string | undefined): string | undefi
|
|||
}
|
||||
|
||||
function assertDeliverySupport(job: Pick<CronJob, "sessionTarget" | "delivery">) {
|
||||
if (!job.delivery) {
|
||||
// No delivery object or mode is "none" -- nothing to validate.
|
||||
if (!job.delivery || job.delivery.mode === "none") {
|
||||
return;
|
||||
}
|
||||
if (job.delivery.mode === "webhook") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue