Skip to content

Commit

Permalink
add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
sudtanj committed Dec 7, 2024
1 parent 0e6ad29 commit 771bc19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/callmebot_whatsapp_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* https://www.callmebot.com/blog/free-api-whatsapp-messages/
* - Make sure your Google Apps Script project has the necessary permissions (like UrlFetch) enabled.
*/
class CallMeBotWhatsAppAPI {
export class CallMeBotWhatsAppAPI {
/**
* Sends a WhatsApp text message to the provided phone number.
*
Expand Down
2 changes: 2 additions & 0 deletions test/test_send_whastapp.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { CallMeBotWhatsAppAPI } from "../lib/callmebot_whatsapp_service";

function TestSendWhatsapp() {
CallMeBotWhatsAppAPI.sendMessage("Test Send Whatsapp");
}

0 comments on commit 771bc19

Please sign in to comment.