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

[FX-1184] Add the default header to lock all endpoints #238

Merged

Conversation

dleis612
Copy link
Contributor

@dleis612 dleis612 commented Apr 2, 2024

What

Add the default version header to all endpoints.

Test Plan

Will test this locally against BT and VGS.

Comment on lines 21 to 31
)
.run {
chain.request().headers[ForageConstants.Headers.API_VERSION]?.let {
this
}
?: addHeader(
ForageConstants.Headers.API_VERSION,
"default"
)
}
.run {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a comment to explain what's going on in this block pls

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done: 19bcdaf also tested all flows locally.

@dleis612 dleis612 merged commit 229a0c7 into main Apr 4, 2024
4 checks passed
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.

2 participants