Skip to content

Conversation

rgoldberg
Copy link
Contributor

Fix JSON parsing error by making formattedPrice & price optional for SearchResult.

Use new displayPrice to get around optional formattedPrice. Doesn't handle i18n, but we can clean that up after we completely redo JSON handling.

Resolve #493

…for `SearchResult`.

Use new `displayPrice` to get around optional `formattedPrice`. Doesn't handle i18n, but we can clean that up after we completely redo JSON handling.

Resolve mas-cli#493

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
@rgoldberg rgoldberg self-assigned this Nov 20, 2024
@rgoldberg rgoldberg merged commit 63dc7f1 into mas-cli:main Nov 20, 2024
3 checks passed
@rgoldberg rgoldberg deleted the 493-json-parse-error branch November 20, 2024 05:46
@rgoldberg rgoldberg added this to the 1.8.8 milestone Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

upgrade unable to parse response json
1 participant