Use builtin JSON Mime type constant

This commit is contained in:
ZadenRB 2020-04-23 16:15:59 -06:00
parent eee02a355a
commit 2066b0f68f

View File

@ -1,3 +1,4 @@
using System.Net.Mime;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
namespace Jellyfin.Api namespace Jellyfin.Api
@ -7,7 +8,7 @@ namespace Jellyfin.Api
/// </summary> /// </summary>
[ApiController] [ApiController]
[Route("[controller]")] [Route("[controller]")]
[Produces("application/json")] [Produces(MediaTypeNames.Application.Json)]
public class BaseJellyfinApiController : ControllerBase public class BaseJellyfinApiController : ControllerBase
{ {
} }