fix: promise resolves on 4xx

Merged
#20 · Created  · Last updated

Merged pull request

Merged in fix/promises (pull request #20)

ca48240·Author: ·Closed by: ·2016-07-22

Description

request handles 4xx returns as valid (as they carry meaning). The API transports validation errors that way (let's say you specify a username that is too long, or a background color that is not valid). The promise resolves, even though the actual API request failed.

0 attachments

0 comments

Loading commits...