mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-19 20:19:15 +00:00
fix
This commit is contained in:
@@ -14,7 +14,7 @@ const prepareVendor = ({ vendor, credentials }) => {
|
||||
* @param {*} args
|
||||
* @returns
|
||||
*/
|
||||
const create = (args) => {
|
||||
const create = async (args) => {
|
||||
const vendor = prepareVendor(args)
|
||||
return Object.setPrototypeOf(new ProviderClass(), vendor)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user