mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-19 20:19:15 +00:00
fix
This commit is contained in:
@@ -5,7 +5,7 @@ const BotClass = require('./classes/bot.class')
|
||||
* @param {*} args
|
||||
* @returns
|
||||
*/
|
||||
const create = ({ flow, database, provider }) => {
|
||||
const create = async ({ flow, database, provider }) => {
|
||||
return Object.setPrototypeOf(
|
||||
new BotClass(flow, database, provider),
|
||||
provider
|
||||
|
||||
Reference in New Issue
Block a user