replace Newtonsoft.Json by System.Text.Json
This commit is contained in:
@@ -177,9 +177,9 @@ namespace Gallery.Illust
|
||||
var data = Stores.LoadIllustRankingData(lastQueryKey, queryDate, currentPage, out lastError, force);
|
||||
if (data != null)
|
||||
{
|
||||
if (int.TryParse(data.next, out int next))
|
||||
if (data.next != null)
|
||||
{
|
||||
nextPage = next;
|
||||
nextPage = data.next.Value;
|
||||
}
|
||||
var date = data.date;
|
||||
DateTime now;
|
||||
|
||||
Reference in New Issue
Block a user