Skip to content

Commit

Permalink
fix: Fixed functions for whatsapp >= 2.3000.1016233710
Browse files Browse the repository at this point in the history
  • Loading branch information
icleitoncosta committed Sep 5, 2024
1 parent 10f2d4e commit 6a76619
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/whatsapp/functions/collections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,16 @@ exportModule(
exports,
{
createCollection: 'createCollection',
},
(m) => m.createCollection
);

exportModule(
exports,
{
deleteCollection: 'deleteCollection',
editCollection: 'editCollection',
queryCollectionsIQ: 'queryCollectionsIQ',
},
(m) => m.createCollection
(m) => m.deleteCollection && m.editCollection && m.queryCollectionsIQ
);

0 comments on commit 6a76619

Please sign in to comment.