From 308d7d40f45b7e3e78a6b13350d3ad7c8fd81b47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Susa=C3=B1a?= Date: Mon, 22 Apr 2024 16:49:55 -0400 Subject: [PATCH] fix(Polls): correct APIPollAnswer properties (#962) --- deno/payloads/v10/poll.ts | 2 +- deno/payloads/v9/poll.ts | 2 +- payloads/v10/poll.ts | 2 +- payloads/v9/poll.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deno/payloads/v10/poll.ts b/deno/payloads/v10/poll.ts index ee2b49631..7f6586b28 100644 --- a/deno/payloads/v10/poll.ts +++ b/deno/payloads/v10/poll.ts @@ -71,7 +71,7 @@ export interface APIPollAnswer { /** * The data of the answer */ - media: APIPollMedia; + poll_media: APIPollMedia; } /** diff --git a/deno/payloads/v9/poll.ts b/deno/payloads/v9/poll.ts index ee2b49631..7f6586b28 100644 --- a/deno/payloads/v9/poll.ts +++ b/deno/payloads/v9/poll.ts @@ -71,7 +71,7 @@ export interface APIPollAnswer { /** * The data of the answer */ - media: APIPollMedia; + poll_media: APIPollMedia; } /** diff --git a/payloads/v10/poll.ts b/payloads/v10/poll.ts index c597214d2..03111531b 100644 --- a/payloads/v10/poll.ts +++ b/payloads/v10/poll.ts @@ -71,7 +71,7 @@ export interface APIPollAnswer { /** * The data of the answer */ - media: APIPollMedia; + poll_media: APIPollMedia; } /** diff --git a/payloads/v9/poll.ts b/payloads/v9/poll.ts index c597214d2..03111531b 100644 --- a/payloads/v9/poll.ts +++ b/payloads/v9/poll.ts @@ -71,7 +71,7 @@ export interface APIPollAnswer { /** * The data of the answer */ - media: APIPollMedia; + poll_media: APIPollMedia; } /**