A platform for community discussion. Free, open, simple.
DEV: Rename param passed to updateNotificationLevel (#16289)
Mark VanLandingham96719cbf4fe3
diff --git a/app/assets/javascripts/discourse/app/controllers/user.js b/app/assets/javascripts/discourse/app/controllers/user.jsindex 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);},},});