Skip to content

Commit

Permalink
Merge pull request #4422 from GSA-TTS/main
Browse files Browse the repository at this point in the history
  • Loading branch information
jadudm authored Oct 30, 2024
2 parents bac486b + 89aee00 commit f338ea6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/report_submission/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,9 @@ def post(self, request, *args, **kwargs):
)

logger.info("The file has been successfully deleted.")
return redirect(f"/audit/submission-progress/{report_id}")
return Util.validate_redirect_url(
f"/audit/submission-progress/{sac.report_id}"
)

except SingleAuditChecklist.DoesNotExist:
logger.error(f"Audit: {report_id} not found")
Expand Down

0 comments on commit f338ea6

Please sign in to comment.