Reverted Test code

This commit is contained in:
JPVenson
2024-11-14 09:55:32 +00:00
parent c5488f8ead
commit 432cfba2e2
2 changed files with 6 additions and 8 deletions

View File

@@ -106,14 +106,7 @@ public class LibraryStructureController : BaseJellyfinApiController
[FromQuery] string name,
[FromQuery] bool refreshLibrary = false)
{
try
{
await _libraryManager.RemoveVirtualFolder(name, refreshLibrary).ConfigureAwait(false);
}
catch (Exception ex)
{
return BadRequest(ex.ToString());
}
await _libraryManager.RemoveVirtualFolder(name, refreshLibrary).ConfigureAwait(false);
return NoContent();
}