Closed criskell closed 1 year ago
The API currently may return an object of type {error: string} or {error: { message: string }} (for example, when removing a charge that does not exist). This PR adds support for the last case, which was causing bugs in previous versions.
{error: string}
{error: { message: string }}
The API currently may return an object of type
{error: string}
or{error: { message: string }}
(for example, when removing a charge that does not exist). This PR adds support for the last case, which was causing bugs in previous versions.