From 078163290aba9fa17a34f07aababd4424e8158e0 Mon Sep 17 00:00:00 2001 From: wuaho Date: Mon, 30 Aug 2021 17:10:56 +0800 Subject: [PATCH] 1 --- api/api_v1/endpoints/dashboard.py | 1 + 1 file changed, 1 insertion(+) 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: