kyleboe / zoom_rb

Ruby REST API Wrapper for zoom.us API
https://developers.zoom.us/docs/api/
MIT License
83 stars 104 forks source link

Check response is a Hash #421

Closed Tekkon closed 2 years ago

Tekkon commented 2 years ago

When trying to call access_tokens action twice simultaneously, the second one returns a string instead of a hash. This PR adds checking that the response is a Hash to Utils#raise_if_error!" in order to prevent an error "NoMethodError: undefined methodkey?' for #".