From c43e2791eab978b2db9e4415291afb89d086491a Mon Sep 17 00:00:00 2001 From: cxfksword <718792+cxfksword@users.noreply.github.com> Date: Thu, 20 Jul 2023 21:23:32 +0800 Subject: [PATCH] refactor: rename api --- .../{MetaSharkController.cs => ApiController.cs} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename Jellyfin.Plugin.MetaShark/Controllers/{MetaSharkController.cs => ApiController.cs} (89%) diff --git a/Jellyfin.Plugin.MetaShark/Controllers/MetaSharkController.cs b/Jellyfin.Plugin.MetaShark/Controllers/ApiController.cs similarity index 89% rename from Jellyfin.Plugin.MetaShark/Controllers/MetaSharkController.cs rename to Jellyfin.Plugin.MetaShark/Controllers/ApiController.cs index b87d36b..c3c9848 100644 --- a/Jellyfin.Plugin.MetaShark/Controllers/MetaSharkController.cs +++ b/Jellyfin.Plugin.MetaShark/Controllers/ApiController.cs @@ -15,16 +15,16 @@ namespace Jellyfin.Plugin.MetaShark.Controllers [ApiController] [AllowAnonymous] [Route("/plugin/metashark")] - public class MetaSharkController : ControllerBase + public class ApiController : ControllerBase { private readonly DoubanApi _doubanApi; private readonly IHttpClientFactory _httpClientFactory; /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The . - public MetaSharkController(IHttpClientFactory httpClientFactory, DoubanApi doubanApi) + public ApiController(IHttpClientFactory httpClientFactory, DoubanApi doubanApi) { this._httpClientFactory = httpClientFactory; this._doubanApi = doubanApi;