Remove extra Required

This commit is contained in:
crobibero 2020-08-07 06:39:20 -06:00
parent 05f9473544
commit e735ab6cc0

View File

@ -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
{