Closed mislavmatijevic closed 1 year ago
Heads up, @jfletcher20! Products do not seem to support UTF-8 for whatever reason! Proof:
Beware that it's not a server-side issue:
I've discovered the issue:
Causes bug | Fixed |
---|---|
Every API call wrapped in the _executeWIthToken method | Every API call wrapped in the _executeWIthToken method |
_executeWIthToken method | _executeWIthToken method |
The issue was the body wasn't returning UTF-8 decoded data properly for some reason. To fix this, I had to add a utf8.decode call, but now all APIs that go through the _executeWithToken method have to return not the body of the response, but bodyBytes.
Application enables seller user to see a screen with products and packages. Products are what the seller offers, and packages are special offers which include multiple products with a discount on amount.
Acceptance Criteria
image
,name
anddescription
. Each card is selectable.image
,name
anddescription
. Each card is selectable.