Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(session): scope the proxy start timeout to whatsapp-web.js
Yudhi Armyndharis6b16af64d2ff
diff --git a/openapi.json b/openapi.jsonindex 2df4c300c..dca5dff26 100644--- a/openapi.json+++ b/openapi.json@@ -1278,7 +1278,7 @@}},"504": {- "description": "The engine did not finish starting within its timeout (WhatsApp Web or the network unreachable, a stalled browser or resource limit, an unreachable proxyUrl, or the whatsapp-web.js auth timeout); the engine is torn down and the start can be retried.",+ "description": "The engine did not finish starting within its timeout (WhatsApp Web or the network unreachable, a stalled browser or resource limit, or, on whatsapp-web.js, an unreachable proxyUrl or the auth timeout); the engine is torn down and the start can be retried.","content": {"application/json": {"schema": {diff --git a/src/modules/session/session.controller.ts b/src/modules/session/session.controller.tsindex b42772f3d..aad06b3a1 100644--- a/src/modules/session/session.controller.ts+++ b/src/modules/session/session.controller.ts@@ -320,7 +320,7 @@ export class SessionController {status: 504,description:'The engine did not finish starting within its timeout (WhatsApp Web or the network unreachable, ' +- 'a stalled browser or resource limit, an unreachable proxyUrl, or the whatsapp-web.js auth ' ++ 'a stalled browser or resource limit, or, on whatsapp-web.js, an unreachable proxyUrl or the auth ' +'timeout); the engine is torn down and the start can be retried.',})async start(@Param('sessionId', ParseUUIDPipe) id: string): Promise<SessionResponseDto> {