Skip to content

Commit

Permalink
fixup! fix(js): Align preference.update argument naming with API resp…
Browse files Browse the repository at this point in the history
…onse
  • Loading branch information
SokratisVidros committed Dec 27, 2024
1 parent b7b0ea8 commit c22f69e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const Preferences = () => {
(preference?: Preference) =>
({ channel, enabled }: { channel: ChannelType; enabled: boolean }) => {
preference?.update({
channelPreferences: {
channels: {
[channel]: enabled,
},
});
Expand Down

0 comments on commit c22f69e

Please sign in to comment.