Skip to content

Commit

Permalink
fix: agregamos variables para mysql
Browse files Browse the repository at this point in the history
Agregamos las variables para la conexion  de MySQL en app.js
  • Loading branch information
cheveguerra committed Dec 17, 2022
1 parent a8b29ee commit dcf65b8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions starters/apps/base-twilio-mysql/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ const {
const TwilioProvider = require('@bot-whatsapp/provider/twilio')
const MySQLAdapter = require('@bot-whatsapp/database/mysql')

/**
* Declaramos las conexiones de MySQL
*/
const MYSQL_DB_HOST = 'localhost'
const MYSQL_DB_USER = 'user'
const MYSQL_DB_PASSWORD = 'pass'
const MYSQL_DB_NAME = 'bot'

/**
* Declarando flujo hijo
*/
Expand Down
8 changes: 8 additions & 0 deletions starters/apps/base-venom-mysql/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ const {
const VenomProvider = require('@bot-whatsapp/provider/venom')
const MySQLAdapter = require('@bot-whatsapp/database/mysql')

/**
* Declaramos las conexiones de MySQL
*/
const MYSQL_DB_HOST = 'localhost'
const MYSQL_DB_USER = 'user'
const MYSQL_DB_PASSWORD = 'pass'
const MYSQL_DB_NAME = 'bot'

/**
* Declarando flujo hijo
*/
Expand Down
8 changes: 8 additions & 0 deletions starters/apps/base-wweb-mysql/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ const {
const WebWhatsappProvider = require('@bot-whatsapp/provider/web-whatsapp')
const MySQLAdapter = require('@bot-whatsapp/database/mysql')

/**
* Declaramos las conexiones de MySQL
*/
const MYSQL_DB_HOST = 'localhost'
const MYSQL_DB_USER = 'user'
const MYSQL_DB_PASSWORD = 'pass'
const MYSQL_DB_NAME = 'bot'

/**
* Declarando flujo hijo
*/
Expand Down

0 comments on commit dcf65b8

Please sign in to comment.