From e23d4b69a0c1aabbf6772521b87b546830a9a518 Mon Sep 17 00:00:00 2001 From: Robin Date: Sat, 12 Oct 2024 13:45:05 -0700 Subject: [PATCH] Update emission/storage/decorations/stats_queries.py Co-authored-by: K. Shankari --- emission/storage/decorations/stats_queries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emission/storage/decorations/stats_queries.py b/emission/storage/decorations/stats_queries.py index c4374921d..29420f86a 100644 --- a/emission/storage/decorations/stats_queries.py +++ b/emission/storage/decorations/stats_queries.py @@ -46,7 +46,7 @@ def store_stats_entry(user_id, metadata_key, name, ts, reading): "reading": reading } new_entry = ecwe.Entry.create_entry(user_id, metadata_key, data) - return esta.TimeSeries.get_time_series(user_id).insert(new_entry) + return esta.TimeSeries.get_non_user_time_series().insert(new_entry) def store_function_time(user_id: str, stage_string: str, ts: float, reading: float): """