Fix payload in Evolution API instance creation by adding integration parameter
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 58s
Details
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 58s
Details
This commit is contained in:
parent
4d130b5b5d
commit
ccd42b50d4
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue