Skip to content

Commit

Permalink
update recheck_main
Browse files Browse the repository at this point in the history
  • Loading branch information
HadronCollider committed Sep 29, 2024
1 parent 8a3931c commit aaf5498
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/routes/recheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,4 @@ def recheck_main(check_id):
db_methods.add_celery_task(task.id, check_id) # mapping celery_task to check (check_id = file_id)
if request.args.get('api'):
return {'task_id': task.id, 'check_id': check_id}
else:
return redirect(url_for('results', _id=check_id))

return redirect(url_for('results.results_main', _id=check_id))

0 comments on commit aaf5498

Please sign in to comment.