Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(session): widen the no-code 409 on POST /start
Yudhi Armyndharisb2074c07fb6a
diff --git a/src/modules/session/session.controller.ts b/src/modules/session/session.controller.tsindex aad06b3a1..c325cd826 100644--- a/src/modules/session/session.controller.ts+++ b/src/modules/session/session.controller.ts@@ -313,8 +313,10 @@ export class SessionController {'effect runs before this refusal. Also returned when another node currently holds this ' +"session's engine: only the owner may start it, and the claim is refused before any engine " +'is launched, so no second connection to the account is opened. Also returned, with no `code`, ' +- 'when a stop or force-kill of this session finished while the start was waiting: the stop ' +- 'stands, and a new POST /start clears it and starts the session.',+ 'when a stop, force-kill, delete or data import (`stopOrphans`) of this session began or ' ++ 'finished while the start was waiting: the start yields and launches nothing. After a stop or ' ++ 'force-kill, a new POST /start clears it and starts the session; after a delete, or an import ' ++ 'that removed the session, the retry answers 404.',})@ApiResponse({status: 504,