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 api-secret header name in swagger configuration. #7154

Merged
merged 1 commit into from
Dec 3, 2021

Conversation

MJDSys
Copy link
Contributor

@MJDSys MJDSys commented Oct 31, 2021

Without this change, the /api-docs/ endpoint would send the header "api_secret" instead of the expected "api-secret" header.

The /api-docs/ endpoint will now send the correct api-secret header
when API_SECRET is used for authentication.
@bewest bewest merged commit 1477c79 into nightscout:dev Dec 3, 2021
@bewest
Copy link
Member

bewest commented Dec 3, 2021

Thanks for your input! Including this in the next release.

@MJDSys MJDSys deleted the fix-swagger-auth branch December 3, 2021 17:31
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