You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
Good catch - it seems like we're getting a string back from the API but trying to parse it as a Currency resource, which is incorrect. I'll set up a PR to fix this right away :)
Not sure if this is a Remix issue or shopify-api-js one (I suspect the latter hence posting here)...
When I make a request to the rest api for a Recurring ApplicationCharge, like so:
The result of recurringApplicationCharge.currency is an object in this structure: Currency { '0': 'U', '1': 'S', '2': 'D' }
I'm guessing this isn't expected behaviour, and that it should simply be a string of "USD".
I also tried recurringApplicationCharge.currency.currency - which returns undefined.
The text was updated successfully, but these errors were encountered: