Skip to content

The Free Software Media System - Server Backend & API

Remove extra Required

crobiberoe735ab6cc0fa
diff --git a/Jellyfin.Api/Controllers/NotificationsController.cs b/Jellyfin.Api/Controllers/NotificationsController.cs
index 47ce48b2da..cf3e780b44 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
{