Remove extra Required
This commit is contained in:
parent
05f9473544
commit
e735ab6cc0
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user