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: last_charged_amount is a number #77

Merged

Conversation

faustofusse
Copy link
Contributor

In the preapproval package, when trying to unmarshal the SummarizedResponse struct, it throws the error: "Time.UnmarshalJSON: input is not a JSON string". This is because the LastChargedAmount field is of type time.Time, when it should be a number.

@wiliamvj
Copy link

I have the same problem, I hope they do this merge quickly. For now I had to do a replace in go.mod

@kelvincarvalhosilva
Copy link
Contributor

Hi @faustofusse

We will analyze the proposed solution and soon integrate it into our product.
Thank you very much for your contribution!

@kelvincarvalhosilva kelvincarvalhosilva merged commit 840a2a4 into mercadopago:main Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants