X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bmy-account%2Fmy-account-settings%2Fmy-account-notification-preferences%2Fmy-account-notification-preferences.component.ts;h=ad7497f45f644fe3ffdce6ae94600149ceddf436;hb=4f926722ea6784ea389013378fd233f59077ec8a;hp=bcbea7fad1e608bacdf49089d7156d3373cca8d5;hpb=66357162f8e1227495f09bd4f68446aad7071c6d;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.ts b/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.ts index bcbea7fad..ad7497f45 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.ts +++ b/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.ts @@ -86,7 +86,7 @@ export class MyAccountNotificationPreferencesComponent implements OnInit { } private savePreferencesImpl () { - this.userNotificationService.updateNotificationSettings(this.user, this.user.notificationSettings) + this.userNotificationService.updateNotificationSettings(this.user.notificationSettings) .subscribe( () => { this.notifier.success($localize`Preferences saved`, undefined, 2000)