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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ public class MetadataController : BaseApiController
/// <param name="libraryIds">String separated libraryIds or null for all tags</param> /// <param name="libraryIds">String separated libraryIds or null for all tags</param>
/// <returns></returns> /// <returns></returns>
[HttpGet("tags")] [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(); var ids = libraryIds?.Split(",").Select(int.Parse).ToList();
if (ids != null && ids.Count > 0) if (ids != null && ids.Count > 0)