feqfe
This commit is contained in:
parent
89f2f5d5e9
commit
6e869b564f
2
index.js
2
index.js
@ -125,7 +125,7 @@ app.post('/sendButtons', async (req, res) => {
|
||||
const { phone } = req.body;
|
||||
if (!sock || !isConnected) return res.status(400).json({ error: 'Non connecté' });
|
||||
try {
|
||||
await sendInteractive(sock, `${phone}@s.whatsapp.net`, 'https://placekitten.com/300/200');
|
||||
await sendInteractive(sock, `${phone}@s.whatsapp.net`, 'https://wa.canguidev.fr/public/logo-merlo-cs-FR.jpg');
|
||||
res.json({ success: true });
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
|
||||
BIN
public/logo-merlo-cs-FR.jpg
Normal file
BIN
public/logo-merlo-cs-FR.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
Loading…
Reference in New Issue
Block a user