Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(status): declare the Baileys 403 on DELETE /status/:id
Yudhi Armyndharis0bc1af504412
diff --git a/src/modules/status/status.controller.ts b/src/modules/status/status.controller.tsindex 28cca480f..3106fe9c3 100644--- a/src/modules/status/status.controller.ts+++ b/src/modules/status/status.controller.ts@@ -179,7 +179,11 @@ export class StatusController {@ApiResponse({ status: 200, description: 'Status deleted.', type: StatusDeletedResponseDto })@ApiResponse({status: 403,- description: "Key lacks OPERATOR role, or (whatsapp-web.js) the id is not one of the account's own statuses",+ description:+ "Key lacks OPERATOR role; on whatsapp-web.js, the id is not one of the account's own statuses; on " ++ 'Baileys, the status was not posted by this session in the last 24 hours (or was posted before a ' ++ 'restart, from the phone or from another node), so its recipients are unknown and the revoke cannot ' ++ 'be addressed to them.',})@ApiResponse({ status: 409, description: ENGINE_NOT_READY_409 })@ApiResponse({ status: 404, description: SESSION_NOT_STARTED_404 })