Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

Will this fix Github build complaining when local builds fine?

Joseph Milazzo13dab81f39b1
diff --git a/API/Controllers/LibraryController.cs b/API/Controllers/LibraryController.cs
index 7bdc4eec6..6874626c7 100644
--- a/API/Controllers/LibraryController.cs
+++ b/API/Controllers/LibraryController.cs
@@ -129,7 +129,7 @@ namespace API.Controllers
[Authorize(Policy = "RequireAdminRole")]
[HttpPost("scan")]
- public ActionResult ScanLibrary(int libraryId)
+ public ActionResult Scan(int libraryId)
{
BackgroundJob.Enqueue(() => _directoryService.ScanLibrary(libraryId, true));
return Ok();