mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-04 06:04:37 -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>
|
/// <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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user