Skip to content

Commit

Permalink
fix: add api max limit for msg
Browse files Browse the repository at this point in the history
  • Loading branch information
OtacilioN committed Sep 3, 2024
1 parent fbc3ed5 commit 19b171c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/sendToZap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const sendText = async (to: string, text: string) => {
type: 'text',
text: {
preview_url: true,
body: text,
body: text.substring(0, 4090),
},
};
console.log(`sending message to ${to}: ${text}`);
Expand Down

0 comments on commit 19b171c

Please sign in to comment.