mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-30 19:55:08 -04:00
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…
x
Reference in New Issue
Block a user