summaryrefslogtreecommitdiffhomepage
path: root/mullvad-api/src
diff options
context:
space:
mode:
Diffstat (limited to 'mullvad-api/src')
-rw-r--r--mullvad-api/src/rest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-api/src/rest.rs b/mullvad-api/src/rest.rs
index a1a6b28b0a..6d10f389de 100644
--- a/mullvad-api/src/rest.rs
+++ b/mullvad-api/src/rest.rs
@@ -274,7 +274,7 @@ impl RequestServiceHandle {
}
/// Forcibly update the connection mode.
- pub async fn next_api_endpoint(&self) -> Result<()> {
+ pub fn next_api_endpoint(&self) -> Result<()> {
self.tx
.unbounded_send(RequestCommand::NextApiConfig)
.map_err(|_| Error::SendError)