Skip to content

Commit

Permalink
envio de opcoes fix
Browse files Browse the repository at this point in the history
  • Loading branch information
frkr committed Nov 5, 2023
1 parent e18e712 commit 510396f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "business-whatsapp",
"author": "frkr",
"license": "MIT",
"version": "18.0.18",
"version": "18.0.19",
"description": "WhatsApp Business API Client unofficial",
"homepage": "https://ideias.casa/",
"repository": {
Expand Down
5 changes: 3 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,9 @@ export async function sendMenu(auth: WAAuth, waid: string, menu: MenuRequest): P
title: 'Menu',
rows: (menu.itens as string[]).map((item, index) => {
return {
id: `${new Date().getTime() + index}`,
title: item as string,
id: `${index+1}`,
title: `${index+1}`,
description: item as string,
} as RowsEntity;
}),
}]
Expand Down

0 comments on commit 510396f

Please sign in to comment.