Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Nov 20, 2024

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