Will this fix Github build complaining when local builds fine?
This commit is contained in:
parent
4c40284af2
commit
13dab81f39
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue