From ef5d6c312bfa3a0f8029a0c27ae80d3de59c5707 Mon Sep 17 00:00:00 2001 From: Richard <35897699+nemethricsi@users.noreply.github.com> Date: Fri, 6 Dec 2024 14:44:55 +0100 Subject: [PATCH] Extend warning information Even if `body` sent, if the `messageIds` array is empty it will still cancel all of your messages --- qstash/api/messages/bulk-cancel.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qstash/api/messages/bulk-cancel.mdx b/qstash/api/messages/bulk-cancel.mdx index 7097ce08..98557f01 100644 --- a/qstash/api/messages/bulk-cancel.mdx +++ b/qstash/api/messages/bulk-cancel.mdx @@ -18,7 +18,9 @@ If you provide a set of message IDs in the body of the request, only those messa If you include filter parameters in the request body, only the messages that match the filters will be canceled. -If no body is sent, QStash will cancel all of your messages. +If the `messageIds` array is empty, QStash will cancel all of your messages. + +If no body is sent, QStash will also cancel all of your messages. This operation scans all your messages and attempts to cancel them.