Fix payload in Evolution API instance creation by adding integration parameter
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 58s Details

This commit is contained in:
Sidney Gomes 2026-07-23 22:24:23 -03:00
parent 4d130b5b5d
commit ccd42b50d4
1 changed files with 2 additions and 1 deletions

View File

@ -1281,7 +1281,8 @@ app.get('/api/admin/whatsapp/qrcode', authenticateToken, requireAdmin, async (re
// Instance does not exist, create it // Instance does not exist, create it
await axios.post(`${apiUrl}/instance/create`, { await axios.post(`${apiUrl}/instance/create`, {
instanceName: instance, instanceName: instance,
qrcode: true qrcode: true,
integration: 'WHATSAPP-BAILEYS'
}, { headers }); }, { headers });
} else { } else {
throw err; throw err;