From c2b50cf97bf5e7ff4d8b6354c8b337f6f2c4a5d1 Mon Sep 17 00:00:00 2001 From: Dom Webber Date: Wed, 24 Jan 2024 17:13:05 +0000 Subject: [PATCH] fix: correct spelling error --- .changeset/heavy-kids-attack.md | 5 +++++ src/Media/MediaURL.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/heavy-kids-attack.md diff --git a/.changeset/heavy-kids-attack.md b/.changeset/heavy-kids-attack.md new file mode 100644 index 0000000..ad362ce --- /dev/null +++ b/.changeset/heavy-kids-attack.md @@ -0,0 +1,5 @@ +--- +"@great-detail/whatsapp": patch +--- + +correct spelling error of `mime_type` in `MediaURL` type diff --git a/src/Media/MediaURL.ts b/src/Media/MediaURL.ts index 8d29e76..1937f75 100644 --- a/src/Media/MediaURL.ts +++ b/src/Media/MediaURL.ts @@ -16,7 +16,7 @@ import { MediaID } from "../ID.js"; export default interface MediaURL { messaging_product: "whatsapp"; url: string; - mine_type: string; + mime_type: string; sha256: string; file_size: string | number; id: MediaID;