Add 2-Year and 5-Year Timespan

This commit is contained in:
2025-01-16 15:05:07 +01:00
parent 29f0b236a0
commit 7be3ea94d1
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -37,6 +37,8 @@ nlohmann::json GraphClient::GetGraphData(int deviceId, const std::vector<int>& d
table = "datalog-monthly";
break;
case DataStorage::Timespan::Year:
case DataStorage::Timespan::_2_Year:
case DataStorage::Timespan::_5_Year:
table = "datalog-yearly";
break;
default: