Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 4d364e5

Browse files
author
luzhongyang
committed
fix default status
1 parent a97f8c7 commit 4d364e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iast/views/project_report_sync_add.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def post(self, request):
5858
return R.failure(status=202, msg=_('Report type error'))
5959
ProjectReport.objects.create(
6060
user=request.user, project=project, vul_id=vid,
61-
status=1, type=type, create_time=timestamp, language=get_language()
61+
status=0, type=type, create_time=timestamp, language=get_language()
6262
)
6363

6464
return R.success(msg=_('Created success'))

0 commit comments

Comments
 (0)