From 1866a61b2e6c0221e0b19aadb4e7a0388df76ce6 Mon Sep 17 00:00:00 2001 From: julien Date: Tue, 6 May 2025 11:58:51 +0200 Subject: [PATCH] upd --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index e8b0343..d6476f6 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,6 @@ -import { Client, LocalAuth, Buttons } from 'whatsapp-web.js'; +import pkg from 'whatsapp-web.js'; +const { Client, LocalAuth, Buttons } = pkg; + import express from 'express'; import qrcode from 'qrcode'; import path from 'path';