From 286ec474126d221cbf1ef27b58402be6afcaba92 Mon Sep 17 00:00:00 2001 From: Andrea Manzi Date: Thu, 12 Sep 2024 12:28:52 +0200 Subject: [PATCH] Fix accounting record --- egi_notebooks_accounting/eosc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/egi_notebooks_accounting/eosc.py b/egi_notebooks_accounting/eosc.py index fc3a60a..781398c 100644 --- a/egi_notebooks_accounting/eosc.py +++ b/egi_notebooks_accounting/eosc.py @@ -170,8 +170,8 @@ def generate_day_metrics( "metric_definition_id": metric_key, "time_period_start": period_start_str, "time_period_end": period_end_str, - "user": user, - "group": group, + "user_id": user, + "group_id": group, "value": value, } logging.debug(f"Sending metric {metric_data} to accounting")