diff --git a/backend/src/data/GuildSavedMessages.ts b/backend/src/data/GuildSavedMessages.ts index 974bdb2b8..a979ad849 100644 --- a/backend/src/data/GuildSavedMessages.ts +++ b/backend/src/data/GuildSavedMessages.ts @@ -122,7 +122,7 @@ export class GuildSavedMessages extends BaseGuildRepository { if (msg.poll) { data.poll = { question: msg.poll.question, - answers: Array.from(msg.poll.answers.values()).map((answer) => ({ + answers: msg.poll.answers.map((answer) => ({ id: answer.id, text: answer.text, })),