Skip to content

Commit

Permalink
hotfix: fixed routes.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gsheth21 committed Nov 1, 2024
1 parent 3fd726f commit 070ae9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def view(view_id):
"""An API to help view review information"""
intialize_db()
job_review = JOBS_DB.find_one({"_id": view_id})
job_review['view_id'] = job_review.pop('_id')
job_review['id'] = job_review.pop('_id')
return render_template("view.html", entry=job_review)


Expand Down

0 comments on commit 070ae9c

Please sign in to comment.