Skip to content

[Desktop] Add handler for 410 in promotion claim flow #11161

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

Closed
NejcZdovc opened this issue Aug 11, 2020 · 2 comments · Fixed by brave/brave-core#6396
Closed

[Desktop] Add handler for 410 in promotion claim flow #11161

NejcZdovc opened this issue Aug 11, 2020 · 2 comments · Fixed by brave/brave-core#6396

Comments

@NejcZdovc
Copy link
Contributor

If server returns 410 when claiming promotion we should mark promotion as failed and stop retrying.

@NejcZdovc
Copy link
Contributor Author

@evq to which endpoints you will add 410?

We talked about this one https://grant.rewards.brave.com/v1/promotions/424aab2c-3b95-5e7e-9ec3-1ca9349f5887. Anything else?

@NejcZdovc
Copy link
Contributor Author

server side implemented here brave-intl/bat-go#473

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant