diff --git a/Shoko.Server/API/v3/Controllers/FileController.cs b/Shoko.Server/API/v3/Controllers/FileController.cs index 854ef3f80..864da2ecd 100644 --- a/Shoko.Server/API/v3/Controllers/FileController.cs +++ b/Shoko.Server/API/v3/Controllers/FileController.cs @@ -854,7 +854,7 @@ public ActionResult LinkMultipleEpisodesToFile([FromRoute] int fileID, [FromBody /// Optional. The body. /// [HttpDelete("{fileID}/Link")] - public ActionResult UnlinkMultipleEpisodesFromFile([FromRoute] int fileID, [FromBody] File.Input.UnlinkEpisodesBody body) + public ActionResult UnlinkMultipleEpisodesFromFile([FromRoute] int fileID, [FromBody(EmptyBodyBehavior = EmptyBodyBehavior.Allow)] File.Input.UnlinkEpisodesBody body) { var file = RepoFactory.VideoLocal.GetByID(fileID); if (file == null)