Skip to content

Commit

Permalink
Fix device endpoint URL
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Oct 30, 2023
1 parent df106cd commit 9b33f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mullvad-api/src/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ impl DevicesProxy {
let factory = self.handle.factory.clone();
async move {
let request = factory
.get(&format!("{ACCOUNTS_URL_PREFIX}/device"))?
.get(&format!("{ACCOUNTS_URL_PREFIX}/devices"))?
.expected_status(&[StatusCode::OK])
.account(account)?;
service.request(request).await?.deserialize().await
Expand Down

0 comments on commit 9b33f44

Please sign in to comment.