JimothyGreene / EE461L-Group2-FinalProject

Semester project for EE 461L (Software Engineering Lab)
https://ee461l-final-project-group2-poc6jfma5a-uc.a.run.app/
0 stars 0 forks source link

Hardware checkout not working after page refresh #114

Closed JimothyGreene closed 3 years ago

JimothyGreene commented 3 years ago

After selecting a project and then refreshing the page, the navbar still shows the project_id which signifies that a project is selected. However, the app context is not storing the project OID anymore. So when trying to checkout/in a hardware resource, it does not provide the project_id field in the body of the POST request. This results in a server error since the backend doesn't catch KeyErrors yet.