GOWA - WhatsApp REST API with support for UI, Multi Account, Webhooks, and MCP, and Chatwoot. Built with Golang for efficient memory use.
Go botgogolanggolang-whatsappgolang-whatsapp-apirestrest-apiwhatsappwhatsapp-apiwhatsapp-api-gowhatsapp-multi-devicewhatsapp-web-multi-device
Fix: assign the client returned by InitWaCLI to whatsappCli. (#467) (#468)
Antônio Sousa0f892d1b4b34
diff --git a/src/cmd/root.go b/src/cmd/root.goindex a5590141..ae21c42d 100644--- a/src/cmd/root.go+++ b/src/cmd/root.go@@ -256,7 +256,7 @@ func initApp() {keysDB = whatsapp.InitWaDB(ctx, config.DBKeysURI)}- whatsapp.InitWaCLI(ctx, whatsappDB, keysDB, chatStorageRepo)+ whatsappCli = whatsapp.InitWaCLI(ctx, whatsappDB, keysDB, chatStorageRepo)// UsecaseappUsecase = usecase.NewAppService(chatStorageRepo)