It looks to me like we assume all reqwest responses are successful, though I haven't looked closely at the API to see how unsuccessdul requests are supposed to be handled.
Figure out the right way to deal with unsuccessful requests and change all the calls to return a proper error instead of blindly parsing the response as if it were a success.
It looks to me like we assume all
reqwest
responses are successful, though I haven't looked closely at the API to see how unsuccessdul requests are supposed to be handled.Figure out the right way to deal with unsuccessful requests and change all the calls to return a proper error instead of blindly parsing the response as if it were a success.