aboutsummaryrefslogtreecommitdiff
path: root/azalea-auth/src/auth.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-12-11 23:21:42 -1030
committermat <git@matdoes.dev>2025-12-11 23:21:42 -1030
commitca70e5e321a3c174c53d0650feed84db471ac30d (patch)
tree43042fa40c2f3d7f30ea56e1ee84c59dcb13be66 /azalea-auth/src/auth.rs
parent918214e8ba4eae65daf5d2da17aa0022f2ae5212 (diff)
downloadazalea-drasl-ca70e5e321a3c174c53d0650feed84db471ac30d.tar.xz
enable str_to_string clippy lint
Diffstat (limited to 'azalea-auth/src/auth.rs')
-rw-r--r--azalea-auth/src/auth.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-auth/src/auth.rs b/azalea-auth/src/auth.rs
index a4176d6c..779910d3 100644
--- a/azalea-auth/src/auth.rs
+++ b/azalea-auth/src/auth.rs
@@ -142,7 +142,7 @@ pub async fn auth(cache_key: &str, opts: AuthOpts<'_>) -> Result<AuthResult, Aut
&cache_file,
cache_key,
CachedAccount {
- cache_key: cache_key.to_string(),
+ cache_key: cache_key.to_owned(),
mca: res.mca,
msa,
xbl: res.xbl,
@@ -527,7 +527,7 @@ async fn obtain_xsts_for_minecraft(
.json(&json!({
"Properties": {
"SandboxId": "RETAIL",
- "UserTokens": [xbl_auth_token.to_string()]
+ "UserTokens": [xbl_auth_token.to_owned()]
},
"RelyingParty": "rp://api.minecraftservices.com/",
"TokenType": "JWT"