diff --git a/api/api_v1/endpoints/dashboard.py b/api/api_v1/endpoints/dashboard.py index 6bee891..bd34c1c 100644 --- a/api/api_v1/endpoints/dashboard.py +++ b/api/api_v1/endpoints/dashboard.py @@ -102,6 +102,7 @@ async def copy( report_id = report['report_id'] new_report = await crud.report.get(db, report_id) new_report_id = get_uid() + report['report_id'] = new_report_id new_report['_id'] = new_report_id new_report['project_id'] = dest_project_id try: