From 594cb935047ee528ab316ee0da474baabfd9afd5 Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Sat, 27 Jun 2026 15:05:20 +0330 Subject: [PATCH] #493 last visit of user for poem --- GanjooRazor/Pages/Index.cshtml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GanjooRazor/Pages/Index.cshtml.cs b/GanjooRazor/Pages/Index.cshtml.cs index e4d833b4..e54604e0 100644 --- a/GanjooRazor/Pages/Index.cshtml.cs +++ b/GanjooRazor/Pages/Index.cshtml.cs @@ -1127,8 +1127,8 @@ namespace GanjooRazor.Pages { return new BadRequestObjectResult(JsonConvert.DeserializeObject(await response.Content.ReadAsStringAsync())); } - var res = JsonConvert.DeserializeObject(await response.Content.ReadAsStringAsync()); - if (res == false) + var res = JsonConvert.DeserializeObject(await response.Content.ReadAsStringAsync()); + if (res.KeepTrack == false) { if (Request.Cookies["KeepHistory"] != null) {