Remove extra Required
This commit is contained in:
parent
05f9473544
commit
e735ab6cc0
|
@ -98,8 +98,8 @@ namespace Jellyfin.Api.Controllers
|
||||||
public ActionResult CreateAdminNotification(
|
public ActionResult CreateAdminNotification(
|
||||||
[FromQuery] string? url,
|
[FromQuery] string? url,
|
||||||
[FromQuery] NotificationLevel? level,
|
[FromQuery] NotificationLevel? level,
|
||||||
[FromQuery, Required] string name = "",
|
[FromQuery] string name = "",
|
||||||
[FromQuery, Required] string description = "")
|
[FromQuery] string description = "")
|
||||||
{
|
{
|
||||||
var notification = new NotificationRequest
|
var notification = new NotificationRequest
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user