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 comment for useAuthorizationHeader config. #4330

Merged

Conversation

uhoreg
Copy link
Member

@uhoreg uhoreg commented Jul 26, 2024

It looks like the default value for this config option was changed, but the comment wasn't updated. The comment at https://github.com/matrix-org/matrix-js-sdk/blob/develop/src/http-api/interface.ts#L56 was updated, and https://github.com/matrix-org/matrix-js-sdk/blob/develop/src/http-api/fetch.ts#L48 is where the default value gets applied.

And while I'm here, added a note that using the query param is deprecated.

Checklist

  • Tests written for new code (and old code if feasible).
  • New or updated public/exported symbols have accurate TSDoc documentation.
  • Linter and other CI checks pass.
  • Sign-off given on the changes (see CONTRIBUTING.md).

@uhoreg uhoreg added the T-Task Tasks for the team like planning label Jul 26, 2024
@uhoreg uhoreg requested a review from a team as a code owner July 26, 2024 22:25
@uhoreg uhoreg requested review from t3chguy and MidhunSureshR July 26, 2024 22:25
@uhoreg uhoreg added this pull request to the merge queue Jul 28, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 28, 2024
@uhoreg uhoreg added this pull request to the merge queue Jul 28, 2024
Merged via the queue into matrix-org:develop with commit d32f398 Jul 28, 2024
28 checks passed
@uhoreg uhoreg deleted the fix_useauthorizationheader_comment branch July 28, 2024 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants