Skip to content

Commit

Permalink
Use other internal request method for some api endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
bytedream committed Jul 11, 2024
1 parent 4d58d4e commit d0e342d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ impl Account {
"current_password": current_password,
"new_email": new_email,
}))
.request()
.request_raw(true)
.await?;
Ok(())
}
Expand All @@ -207,7 +207,7 @@ impl Account {
self.executor
.patch(endpoint)
.json(&json!({"wallpaper": &wallpaper.name}))
.request()
.request_raw(true)
.await?;
self.wallpaper = wallpaper;
Ok(())
Expand Down
2 changes: 1 addition & 1 deletion src/list/crunchylist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ impl CrunchylistEntry {
self.executor
.delete(endpoint)
.apply_locale_query()
.request()
.request_raw(true)
.await?;
Ok(())
}
Expand Down

0 comments on commit d0e342d

Please sign in to comment.