Skip to content

Commit

Permalink
Fix File/{FileID}/Rescan endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmohan authored Sep 16, 2023
1 parent d368942 commit 3ac5021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shoko.Server/API/v3/Controllers/FileController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ public ActionResult RescanFile([FromRoute] int fileID, [FromQuery] bool priority
if (string.IsNullOrEmpty(filePath))
return ValidationProblem(FileNoPath, "File");

_commandFactory.Create<CommandRequest_ProcessFile>(
_commandFactory.CreateAndSave<CommandRequest_ProcessFile>(
c =>
{
c.VideoLocalID = file.VideoLocalID;
Expand Down

0 comments on commit 3ac5021

Please sign in to comment.