Removed stray debug statement

This commit is contained in:
2025-08-31 15:35:19 +02:00
parent 1e913c82e3
commit 02bdf4ad10

View File

@@ -134,8 +134,6 @@ public class Client
using var client = new HttpClient(); using var client = new HttpClient();
var response = await client.PostAsync(url, content); var response = await client.PostAsync(url, content);
string responseContent = await response.Content.ReadAsStringAsync(); string responseContent = await response.Content.ReadAsStringAsync();
Console.WriteLine("DEBUG@GetUrlAndProcessJson");
Console.WriteLine(responseContent);
var result = JsonSerializer.Deserialize<T>(responseContent) var result = JsonSerializer.Deserialize<T>(responseContent)
?? throw new Exception($"Failed to deserialize JSON to type {typeof(T).Name}"); ?? throw new Exception($"Failed to deserialize JSON to type {typeof(T).Name}");
return result; return result;