diff --git a/app/logic/celestial.ts b/app/logic/celestial.ts index e5479a5..e1142c3 100644 --- a/app/logic/celestial.ts +++ b/app/logic/celestial.ts @@ -115,7 +115,15 @@ class CelestialMarket { return null; } catch { - return market?.root.aggregation ?? null; + try { + if (market) { + this.lastRefresh = new Date(); + } + return market?.root.aggregation ?? null; + } + catch { + return null; + } } } }