From 9b33f4440fd35d01eea663df5de7d83f65d96918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20L=C3=B6nnhager?= Date: Tue, 31 Oct 2023 00:42:42 +0100 Subject: [PATCH] Fix device endpoint URL --- mullvad-api/src/device.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mullvad-api/src/device.rs b/mullvad-api/src/device.rs index 37410e99b3cc..a4b609e8aa63 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