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
feat(api): add :email unsubscribe/:email to the deprecated #50497
feat(api): add :email unsubscribe/:email to the deprecated #50497
Conversation
👀 Review this PR in a CodeSee Review Map |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They don't get much use, but they are still getting traffic so I think it's worth keeping the custom response, unsubscribeDeprecated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These endpoints do not respond with JSON. They redirect the browser to the client with a query param that includes the flash message.
There's some discussion here: #50426 but I think we should talk about it again in today's meeting.
I am adding block label, until the issue is triaged. |
@Sboonny since we've confirmed the "clone the old api wherever possible" plan, we should use the redirects here. If you like, I'd be happy to create a quick PR/push a commitw |
Once #50525 is in, we can update this to use |
944d3b2
to
745c8fb
Compare
Checklist:
main
branch of freeCodeCamp.These endpoints are depercated in the old api too, so I have added them.