From 2570dbfab45c2a4459fe17df32c1e60911c143dd Mon Sep 17 00:00:00 2001 From: nymkappa Date: Sun, 6 Mar 2022 17:06:55 +0100 Subject: [PATCH] Fix incorrect state naming --- backend/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/index.ts b/backend/src/index.ts index 029e32c96..4ede865a6 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -168,7 +168,7 @@ class Server { async $resetHashratesIndexingState() { await HashratesRepository.$setLatestRunTimestamp('last_hashrates_indexing', 0); - await HashratesRepository.$setLatestRunTimestamp('last_week_hashrates_indexing', 0); + await HashratesRepository.$setLatestRunTimestamp('last_weekly_hashrates_indexing', 0); } async $runIndexingWhenReady() {