[feature/weebcentral_build_error] fix type in equality check

This commit is contained in:
Alessandro Benetton 2024-12-14 20:44:43 +01:00
parent a40a9c84df
commit 72d9bda0e8
No known key found for this signature in database
GPG Key ID: ED63A304CE2C0303

View File

@ -195,7 +195,7 @@ public class Weebcentral : MangaConnector
var chapterNumber = chapterNumberMatch.Success ? chapterNumberMatch.Groups[1].Value : "-1";
return new Chapter(manga, null, null, chapterNumber, url, id);
}).Where(elem => elem.chapterNumber != "-1" && elem.url != "undefined").ToList();
}).Where(elem => elem.chapterNumber != -1 && elem.url != "undefined").ToList();
ret.Reverse();
return ret;