CDRH / orchid

Rails Engine for site integration with CDRH API
MIT License
3 stars 0 forks source link

Fix check response #229

Closed wkdewey closed 2 years ago

wkdewey commented 2 years ago

the check_response method was causing apps to crash if there was no "error" key in the API response hash. Changed the code to check for the presence of the key before checking for the value.