This commit is contained in:
wuaho 2021-08-30 17:10:56 +08:00
parent 91c8ecc760
commit 078163290a

View File

@ -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: