Closed akifkhan01 closed 5 years ago
In case of constraint violation, changed response code to 500 (INTERNAL_SERVER_ERROR) if it is not for duplicate State Machine Id. For duplciate state machine id, it sends 409 (CONFLICT) as response.
All tests passing.
This PR is to address issue occurred here : https://jira.fkinternal.com/browse/FLUXONCALL-47
In case of constraint violation, changed response code to 500 (INTERNAL_SERVER_ERROR) if it is not for duplicate State Machine Id. For duplciate state machine id, it sends 409 (CONFLICT) as response.
All tests passing.