Skip to content

Commit 5e275eb

Browse files
committed
Use correct token prefix after parsing
1 parent 46096e8 commit 5e275eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/secrets.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ impl FromStr for Token {
111111

112112
if is_valid {
113113
Ok(Self(SecretString::new(Arc::from(
114-
aformat!("Box {}", CapStr::<128>(token)).as_str(),
114+
aformat!("Bot {}", CapStr::<128>(token)).as_str(),
115115
))))
116116
} else {
117117
Err(TokenError::InvalidToken)

0 commit comments

Comments
 (0)