Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(webhook): note the 0 attempts a shutdown in backoff records

Yudhi Armyndharis5cc92248a535
diff --git a/src/modules/webhook/dto/webhook.dto.ts b/src/modules/webhook/dto/webhook.dto.ts
index 756aedd26..06a36893d 100644
--- a/src/modules/webhook/dto/webhook.dto.ts
+++ b/src/modules/webhook/dto/webhook.dto.ts
@@ -394,7 +394,10 @@ export class WebhookDeliveryFailureDto {
deliveryId?: string | null;
@ApiProperty({
- description: 'Attempts recorded for the delivery; 0 when it was shed, refused or failed before sending.',
+ description:
+ 'Attempts recorded for the delivery; 0 when it was shed, refused or failed before sending. With the ' +
+ 'queue disabled, a delivery that shutdown caught in a retry backoff also records 0, although earlier ' +
+ 'attempts were sent.',
example: 5,
})
attempts!: number;