Skip to content

Commit

Permalink
fix(Filters): Fix filters api request payload error
Browse files Browse the repository at this point in the history
  • Loading branch information
hmes98318 committed Oct 5, 2024
1 parent 1db257d commit 8c63477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Filters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,6 @@ export default class Filters {
const payload = this.options;
if (this.options.equalizer) { Object.assign(payload, { equalizer: this.options.equalizer.map((gain, band) => ({ band, gain })) }); }

this.player.node?.rest.updatePlayer(this.player.guildId, this.options);
this.player.node?.rest.updatePlayer(this.player.guildId, { filters: this.options });
}
}

0 comments on commit 8c63477

Please sign in to comment.