Skip to content

Commit

Permalink
fix: suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Almeida <[email protected]>
  • Loading branch information
rubyowo and almeidx authored Jun 2, 2024
1 parent 01332af commit 9aca2d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/data/GuildSavedMessages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export class GuildSavedMessages extends BaseGuildRepository<SavedMessage> {
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,
})),
Expand Down

0 comments on commit 9aca2d5

Please sign in to comment.