Description:
I made the request.get_json() function in the /api/roles GET request silently fail. Before it would cause an exception if there was not to decode. Now it returns None when there is no json.
Test Plan:
Verify roles load into the drop down for the add employee page.
Description: I made the
request.get_json()
function in the/api/roles
GET request silently fail. Before it would cause an exception if there was not to decode. Now it returns None when there is no json.Test Plan: Verify roles load into the drop down for the add employee page.