mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-22 23:10:34 -04:00
Will this fix Github build complaining when local builds fine?
This commit is contained in:
parent
4c40284af2
commit
13dab81f39
@ -129,7 +129,7 @@ namespace API.Controllers
|
|||||||
|
|
||||||
[Authorize(Policy = "RequireAdminRole")]
|
[Authorize(Policy = "RequireAdminRole")]
|
||||||
[HttpPost("scan")]
|
[HttpPost("scan")]
|
||||||
public ActionResult ScanLibrary(int libraryId)
|
public ActionResult Scan(int libraryId)
|
||||||
{
|
{
|
||||||
BackgroundJob.Enqueue(() => _directoryService.ScanLibrary(libraryId, true));
|
BackgroundJob.Enqueue(() => _directoryService.ScanLibrary(libraryId, true));
|
||||||
return Ok();
|
return Ok();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user