From 0a88cfe5108ed2575fc3c5bb7825b2a36fc1b14f Mon Sep 17 00:00:00 2001 From: Bjarke Berg Date: Thu, 20 Aug 2020 14:10:35 +0200 Subject: [PATCH] Fix issue with query params not binding for PostNotificationOptions --- src/Umbraco.Web.BackOffice/Controllers/ContentController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.BackOffice/Controllers/ContentController.cs b/src/Umbraco.Web.BackOffice/Controllers/ContentController.cs index f554f39aa6..7704b198ae 100644 --- a/src/Umbraco.Web.BackOffice/Controllers/ContentController.cs +++ b/src/Umbraco.Web.BackOffice/Controllers/ContentController.cs @@ -2291,7 +2291,7 @@ namespace Umbraco.Web.Editors return notifications; } - public IActionResult PostNotificationOptions(int contentId, [FromQuery] string[] notifyOptions) + public IActionResult PostNotificationOptions(int contentId, [FromQuery(Name="notifyOptions[]")] string[] notifyOptions) { if (contentId <= 0) return NotFound(); var content = _contentService.GetById(contentId);