From f49e4dc23bf06dddbca782a10cb9316f9360ec61 Mon Sep 17 00:00:00 2001 From: PicelBoi Date: Fri, 23 Jan 2026 23:06:55 -0500 Subject: [PATCH] remove schema --- .../API/Products/AlertDetailsProduct.cs | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/MistWX-i2Me/API/Products/AlertDetailsProduct.cs b/MistWX-i2Me/API/Products/AlertDetailsProduct.cs index 1793b87..8d49e1d 100644 --- a/MistWX-i2Me/API/Products/AlertDetailsProduct.cs +++ b/MistWX-i2Me/API/Products/AlertDetailsProduct.cs @@ -4,6 +4,7 @@ using Microsoft.Extensions.Caching.Memory; using MistWX_i2Me.Schema.ibm; using System.Data.SqlTypes; using System.Data.SQLite; +using MistWX_i2Me.Schema.System; namespace MistWX_i2Me.API.Products; @@ -38,15 +39,6 @@ public class AlertDetailsProduct : Base string res = Encoding.UTF8.GetString(resbyte); - if (alert.detailKey != null) - { - if (alertsCache.TryGetValue(alert.detailKey, out int expireTime)) - { - // disable alertscache until further testing - //continue; - } - } - using (var stream = StreamFromString(res)) { @@ -54,14 +46,6 @@ public class AlertDetailsProduct : Base if (response != null) { results.Add(new GenericResponse(headline.Location, res, response)); - /* - if (alert.detailKey != null) - { - alertsCache.Set(alert.detailKey, alert.expireTimeUTC); - alertDetailKeys.Add(alert.detailKey); - Log.Debug($"Alert ID {alert.detailKey} cached, expires @ {alert.expireTimeUTC} UTC."); - } - */ } } }