Skip to content

Commit

Permalink
Correct use of MessageType enum
Browse files Browse the repository at this point in the history
  • Loading branch information
domwebber committed Nov 21, 2024
1 parent ec11904 commit fd52782
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import { program } from "commander";
import getStdin from "get-stdin";
import Client from "./Client.js";
import { MessageType } from "./types/Message/index.js";
import { MessageType } from "./types/Message/MessageType.js";

const WHATSAPP_ACCESS_TOKEN = process.env.WHATSAPP_ACCESS_TOKEN;
const WHATSAPP_PHONE_NUMBER_ID = process.env.WHATSAPP_PHONE_NUMBER_ID;
Expand Down
3 changes: 2 additions & 1 deletion src/types/Webhook/WebhookEventNotification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
import { AccountID } from "../Account.js";
import { BusinessAccountID } from "../BusinessAccount.js";
import { WhatsappError } from "../Error.js";
import { MessageID, MessageType } from "../Message/index.js";
import { MessageID } from "../Message/index.js";
import { MessageType } from "../Message/MessageType.js";
import { EventNotificationMessageIdentity } from "../Message/MessageIdentity.js";
import { EventNotificationMessageMedia } from "../Message/MessageMedia.js";
import { EventNotificationMessageReferral } from "../Message/MessageReferral.js";
Expand Down

0 comments on commit fd52782

Please sign in to comment.