-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Line 2 in f8d1dcb
| var locations = errors.map(function (e) { return e.locations }) |
I understand by convention errors should be an array. But let's take this example when shopify for invalid access-token returns response as
{
"errors": "[API] Invalid API key or access token (unrecognized login or wrong password)"
}
can we to a type check and handle this problem?
Metadata
Metadata
Assignees
Labels
No labels