diff --git a/Tranga/Server/v2Manga.cs b/Tranga/Server/v2Manga.cs index 9753907..80da384 100644 --- a/Tranga/Server/v2Manga.cs +++ b/Tranga/Server/v2Manga.cs @@ -18,7 +18,7 @@ public partial class Server { if(!requestParameters.TryGetValue("mangaIds", out string? mangaIdListStr)) return new ValueTuple(HttpStatusCode.BadRequest, "Missing parameter 'mangaIds'."); - string[] mangaIdList = mangaIdListStr.Split(','); + string[] mangaIdList = mangaIdListStr.Split(',').Distinct().ToArray(); List ret = new(); foreach (string mangaId in mangaIdList) {