diff --git a/algo.py b/algo.py index be2bfd5..ca59699 100644 --- a/algo.py +++ b/algo.py @@ -74,6 +74,12 @@ async def get_report(report_name: str, ffrom: str, to: str, ver: int): #version res = await get_reports(report_name, ffrom, to) return transform_metrics_list(res) + elif ver == 3: + res = await get_reports(report_name, ffrom, to) + x = transform_metrics_list(res) + "" + return {"name": "dummy", "data": x} + @app.post('/api/user/forget') async def forget_gdpr(userId: str): if not userId: