remove schema

This commit is contained in:
PicelBoi committed 2026-01-23 23:06:55 -05:00
1 parent ec39baa796
commit f49e4dc23b
1 file changed
+1 -17
@@ -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<AlertDetailResponse>(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.");
}
*/
}
}
}