Fixed the code to reflect an actual response from the real API