Skip to content

Prevent "bearer" capitalization mistakes by using the bearer_auth function - #86

Merged
cole-h merged 1 commit into
mainfrom
fixup-bearer
Sep 29, 2023
Merged

cole-h merged 1 commit into
mainfrom
fixup-bearer

Conversation

@cole-h

@cole-h cole-h commented Sep 28, 2023

Copy link
Copy Markdown
Member

Comment thread src/cli/mod.rs

header_map.insert(
reqwest::header::AUTHORIZATION,
reqwest::header::HeaderValue::from_str(&format!("bearer {}", upload_bearer_token))

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is the potentially-problematic one. Pretty sure I introduced this, oops.

@cole-h
cole-h marked this pull request as draft September 28, 2023 21:20

@grahamc grahamc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🐻

@cole-h
cole-h marked this pull request as ready for review September 29, 2023 16:14
@cole-h
cole-h merged commit e013a09 into main Sep 29, 2023
@cole-h
cole-h deleted the fixup-bearer branch September 29, 2023 16:31
detsys-pr-bot pushed a commit to detsys-pr-bot/flakehub-push that referenced this pull request Apr 4, 2025
…m DeterminateSystems/dependabot/npm_and_yarn/npm_and_yarn-2bd33993d4` (`dc7c6d9c7a5d2db79ddc6eccf57d5fc09a391347`)
github-merge-queue Bot pushed a commit that referenced this pull request Apr 4, 2025
…a5d2db79ddc6eccf57d5fc09a391347

Update `detsys-ts`: Merge pull request #86 from DeterminateSystems/dependabot/npm_and_yarn/npm_and_yarn-2bd33993d4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants