From 17b8c2d191c0e699b18214b863aeec10b88d03d0 Mon Sep 17 00:00:00 2001 From: Joachim Leonfellner Date: Sun, 29 Sep 2024 10:33:28 -0700 Subject: [PATCH] Update ChatManager.cs fixed count from API requests --- WahlGPT.Web/ChatManager.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WahlGPT.Web/ChatManager.cs b/WahlGPT.Web/ChatManager.cs index 5f92131..36bf515 100644 --- a/WahlGPT.Web/ChatManager.cs +++ b/WahlGPT.Web/ChatManager.cs @@ -1,4 +1,4 @@ -using System.Text.Json; +using System.Text.Json; using System.Text.RegularExpressions; using Microsoft.AspNetCore.Components; using Microsoft.JSInterop; @@ -23,6 +23,7 @@ public ChatManager(HttpClient client, IJSRuntime jsRuntime) public async Task GetCount() { + return 26237; var lastDate = await _jsRuntime.InvokeAsync("localStorage.getItem", "countDate"); if (!string.IsNullOrWhiteSpace(lastDate)) {