Skip to content

Commit

Permalink
Use correct token prefix after parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
arqunis committed Nov 23, 2024
1 parent 46096e8 commit 5e275eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/secrets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ impl FromStr for Token {

if is_valid {
Ok(Self(SecretString::new(Arc::from(
aformat!("Box {}", CapStr::<128>(token)).as_str(),
aformat!("Bot {}", CapStr::<128>(token)).as_str(),
))))
} else {
Err(TokenError::InvalidToken)
Expand Down

0 comments on commit 5e275eb

Please sign in to comment.