Skip to content

Commit d0e342d

Browse files
committed
Use other internal request method for some api endpoints
1 parent 4d58d4e commit d0e342d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/account.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ impl Account {
196196
"current_password": current_password,
197197
"new_email": new_email,
198198
}))
199-
.request()
199+
.request_raw(true)
200200
.await?;
201201
Ok(())
202202
}
@@ -207,7 +207,7 @@ impl Account {
207207
self.executor
208208
.patch(endpoint)
209209
.json(&json!({"wallpaper": &wallpaper.name}))
210-
.request()
210+
.request_raw(true)
211211
.await?;
212212
self.wallpaper = wallpaper;
213213
Ok(())

src/list/crunchylist.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl CrunchylistEntry {
3737
self.executor
3838
.delete(endpoint)
3939
.apply_locale_query()
40-
.request()
40+
.request_raw(true)
4141
.await?;
4242
Ok(())
4343
}

0 commit comments

Comments
 (0)