Fixed GetTags having wrong return type defined (#954)

This commit is contained in:
Joseph Milazzo
2022-01-18 13:30:34 -08:00
committed by GitHub
parent 32cbfed5c0
commit 9d1d17249d
+1 -1
View File
@@ -62,7 +62,7 @@ public class MetadataController : BaseApiController
/// <param name="libraryIds">String separated libraryIds or null for all tags</param>
/// <returns></returns>
[HttpGet("tags")]
public async Task<ActionResult<IList<PersonDto>>> GetAllTags(string? libraryIds)
public async Task<ActionResult<IList<TagDto>>> GetAllTags(string? libraryIds)
{
var ids = libraryIds?.Split(",").Select(int.Parse).ToList();
if (ids != null && ids.Count > 0)