diff --git a/app/assets/javascripts/discourse/app/controllers/user.js b/app/assets/javascripts/discourse/app/controllers/user.js index 9567758f050..1519e04e82a 100644 --- a/app/assets/javascripts/discourse/app/controllers/user.js +++ b/app/assets/javascripts/discourse/app/controllers/user.js @@ -254,8 +254,8 @@ export default Controller.extend(CanCheckEmails, { bootbox.dialog(message, buttons, { classes: "delete-user-modal" }); }, - updateNotificationLevel(level) { - return this.model.updateNotificationLevel(level); + updateNotificationLevel(params) { + return this.model.updateNotificationLevel(params); }, }, });