Not sure I understand completely.
This is the success callback.

I think this check is in here as a just-in-case, our API error would fail on anything that doesn't return a 200 (our response statusCode reflects the response).

Reluctant to take it out as I wonder why I put it there...