diff options
| author | David Lönnhager <david.l@mullvad.net> | 2023-10-31 00:42:42 +0100 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2023-10-31 00:44:09 +0100 |
| commit | 9b33f4440fd35d01eea663df5de7d83f65d96918 (patch) | |
| tree | 80e1b76a49a35abcbdf2abda820e42111437842b /mullvad-api/src | |
| parent | df106cda61bf605f29eecc2b06bf353120a9f7c8 (diff) | |
| download | mullvadvpn-9b33f4440fd35d01eea663df5de7d83f65d96918.tar.xz mullvadvpn-9b33f4440fd35d01eea663df5de7d83f65d96918.zip | |
Fix device endpoint URL
Diffstat (limited to 'mullvad-api/src')
| -rw-r--r-- | mullvad-api/src/device.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-api/src/device.rs b/mullvad-api/src/device.rs index 37410e99b3..a4b609e8aa 100644 --- a/mullvad-api/src/device.rs +++ b/mullvad-api/src/device.rs @@ -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 |
