From 96719cbf4fe3a60539950f2c813f04ab933fcdd8 Mon Sep 17 00:00:00 2001 From: Mark VanLandingham Date: Fri, 25 Mar 2022 11:20:24 -0500 Subject: [PATCH] DEV: Rename param passed to updateNotificationLevel (#16289) --- app/assets/javascripts/discourse/app/controllers/user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }, }, });