aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-08-07 06:39:20 -0600
committercrobibero <cody@robibe.ro>2020-08-07 06:39:20 -0600
commite735ab6cc0faaec61d6aceeb0b946ba94a8c103c (patch)
tree590a56ca843635f9e353b598b1182d84bf6a9bd4
parent05f9473544dd40c6ffdc8512d675256468c09cb3 (diff)
Remove extra Required
-rw-r--r--Jellyfin.Api/Controllers/NotificationsController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/NotificationsController.cs b/Jellyfin.Api/Controllers/NotificationsController.cs
index 47ce48b2d..cf3e780b4 100644
--- a/Jellyfin.Api/Controllers/NotificationsController.cs
+++ b/Jellyfin.Api/Controllers/NotificationsController.cs
@@ -98,8 +98,8 @@ namespace Jellyfin.Api.Controllers
public ActionResult CreateAdminNotification(
[FromQuery] string? url,
[FromQuery] NotificationLevel? level,
- [FromQuery, Required] string name = "",
- [FromQuery, Required] string description = "")
+ [FromQuery] string name = "",
+ [FromQuery] string description = "")
{
var notification = new NotificationRequest
{