mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-24 00:52:23 -04:00
Fixed GetTags having wrong return type defined (#954)
This commit is contained in:
parent
32cbfed5c0
commit
9d1d17249d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user