From 68350e3c24d1046c81148abf833489a9a7079f0d Mon Sep 17 00:00:00 2001 From: cryptooda Date: Wed, 24 Sep 2025 01:37:01 +0700 Subject: [PATCH] Uncomment some code forgot --- .../Grains/PlatformSummaryGrain.cs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/Managing.Application/Grains/PlatformSummaryGrain.cs b/src/Managing.Application/Grains/PlatformSummaryGrain.cs index 79438feb..6d8c5714 100644 --- a/src/Managing.Application/Grains/PlatformSummaryGrain.cs +++ b/src/Managing.Application/Grains/PlatformSummaryGrain.cs @@ -55,13 +55,11 @@ public class PlatformSummaryGrain : Grain, IPlatformSummaryGrain, IRemindable _logger.LogInformation("Daily reminder scheduled - Next daily: {NextDaily}", nextDailyTime); - await RefreshDataAsync(); - - // // Initial data load if state is empty - // if (_state.State.LastUpdated == default) - // { - // await RefreshDataAsync(); - // } + // Initial data load if state is empty + if (_state.State.LastUpdated == default) + { + await RefreshDataAsync(); + } } public async Task GetPlatformSummaryAsync()