From 536accabd9ebaa0709e3e7ed9efaeddaad8dc903 Mon Sep 17 00:00:00 2001 From: julien Date: Tue, 6 May 2025 14:48:01 +0200 Subject: [PATCH] dddd --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index ca9aaaa..bdb3564 100644 --- a/index.js +++ b/index.js @@ -128,7 +128,7 @@ app.post('/sendInteractiveImage', async (req, res) => { try { const imagePath = path.join(__dirname, 'public', 'logo-merlo-cs-FR.jpg'); const sharp = require('sharp'); - const resizedBuffer = await sharp(imagePath).resize(600, 400).toBuffer(); + const resizedBuffer = await sharp(imagePath).resize(458, 80).toBuffer(); await sock.sendMessage(`${phone}@s.whatsapp.net`, { image: resizedBuffer,