diff options
| author | crobibero <cody@robibe.ro> | 2020-08-07 06:39:20 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-08-07 06:39:20 -0600 |
| commit | e735ab6cc0faaec61d6aceeb0b946ba94a8c103c (patch) | |
| tree | 590a56ca843635f9e353b598b1182d84bf6a9bd4 /Jellyfin.Api/Controllers/NotificationsController.cs | |
| parent | 05f9473544dd40c6ffdc8512d675256468c09cb3 (diff) | |
Remove extra Required
Diffstat (limited to 'Jellyfin.Api/Controllers/NotificationsController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/NotificationsController.cs | 4 |
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 { |
