From 9ed535bea7160f1a4a999019c3aa3734264f88fa Mon Sep 17 00:00:00 2001 From: Claudemir Todo Bom Date: Mon, 21 Oct 2024 21:01:35 -0300 Subject: [PATCH] dynamically get whatsapp protocol version from project page --- backend/src/libs/wbot.ts | 2 +- backend/src/waversion.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/libs/wbot.ts b/backend/src/libs/wbot.ts index ae49acd..e4d1062 100644 --- a/backend/src/libs/wbot.ts +++ b/backend/src/libs/wbot.ts @@ -84,7 +84,7 @@ function getGreaterVersion(a, b) { return a; } -const waVersion = [2, 3000, 1015891883]; +const waVersion = [2, 3000, 1017410096]; const getProjectWAVersion = async () => { try { diff --git a/backend/src/waversion.json b/backend/src/waversion.json index 4d602aa..a74caab 100644 --- a/backend/src/waversion.json +++ b/backend/src/waversion.json @@ -1 +1 @@ -[2, 3000, 1015891883] \ No newline at end of file +[2, 3000, 1017410096] \ No newline at end of file