chore: default wa_gateway_type=gowa (baileys dilepas) + README

This commit is contained in:
oxpoe committed 2026-10-13 03:47:32 +07:00
1 parent 0f612df70f
commit cb60ceec10
10 files changed
+19 -19

No files matched your search

+1 -1
View File
@@ -140,7 +140,7 @@ function formatUnpaidInvoicesSummary(unpaidInvoices) {
* @param {object} options Opsi tambahan: { templateName, parameters, langCode, url, filename }
*/
async function sendWhatsAppMessage(toPhone, messageText, options = {}) {
const gatewayType = getSetting('wa_gateway_type', 'baileys'); // 'baileys', 'fonnte', or 'meta'
const gatewayType = getSetting('wa_gateway_type', 'gowa'); // 'baileys', 'fonnte', or 'meta'
if (gatewayType === 'fonnte') {
// Mode FONNTE API GATEWAY (Cloud / Self-Hosted)