summaryrefslogtreecommitdiffhomepage
path: root/ios
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2022-05-13 15:49:55 +0200
committerAndrej Mihajlov <and@mullvad.net>2022-05-17 15:23:43 +0200
commit210bc196cd9a01ec1b2baa4f5eb23dc1ccfce3f6 (patch)
treee3886c63a0e747e65ad1c195e072262e5a683c3e /ios
parente59802548263b33bb428e5172cdb2b7833caea5f (diff)
downloadmullvadvpn-210bc196cd9a01ec1b2baa4f5eb23dc1ccfce3f6.tar.xz
mullvadvpn-210bc196cd9a01ec1b2baa4f5eb23dc1ccfce3f6.zip
REST: switch to deployed API
Diffstat (limited to 'ios')
-rw-r--r--ios/MullvadVPN/REST/RESTAccountsProxy.swift2
-rw-r--r--ios/MullvadVPN/REST/RESTAuthenticationProxy.swift2
-rw-r--r--ios/MullvadVPN/REST/RESTDevicesProxy.swift2
3 files changed, 3 insertions, 3 deletions
diff --git a/ios/MullvadVPN/REST/RESTAccountsProxy.swift b/ios/MullvadVPN/REST/RESTAccountsProxy.swift
index 2bc05e088c..2862b586d6 100644
--- a/ios/MullvadVPN/REST/RESTAccountsProxy.swift
+++ b/ios/MullvadVPN/REST/RESTAccountsProxy.swift
@@ -15,7 +15,7 @@ extension REST {
name: "AccountsProxy",
configuration: configuration,
requestFactory: RequestFactory.withDefaultAPICredentials(
- pathPrefix: "/accounts/v1-beta1",
+ pathPrefix: "/accounts/v1",
bodyEncoder: Coding.makeJSONEncoder()
),
responseDecoder: ResponseDecoder(
diff --git a/ios/MullvadVPN/REST/RESTAuthenticationProxy.swift b/ios/MullvadVPN/REST/RESTAuthenticationProxy.swift
index c4ab8e9d04..a5fb192d99 100644
--- a/ios/MullvadVPN/REST/RESTAuthenticationProxy.swift
+++ b/ios/MullvadVPN/REST/RESTAuthenticationProxy.swift
@@ -15,7 +15,7 @@ extension REST {
name: "AuthenticationProxy",
configuration: configuration,
requestFactory: RequestFactory.withDefaultAPICredentials(
- pathPrefix: "/auth/v1-beta1",
+ pathPrefix: "/auth/v1",
bodyEncoder: Coding.makeJSONEncoder()
),
responseDecoder: ResponseDecoder(
diff --git a/ios/MullvadVPN/REST/RESTDevicesProxy.swift b/ios/MullvadVPN/REST/RESTDevicesProxy.swift
index 698c51681b..d7e79b2236 100644
--- a/ios/MullvadVPN/REST/RESTDevicesProxy.swift
+++ b/ios/MullvadVPN/REST/RESTDevicesProxy.swift
@@ -17,7 +17,7 @@ extension REST {
name: "DevicesProxy",
configuration: configuration,
requestFactory: RequestFactory.withDefaultAPICredentials(
- pathPrefix: "/accounts/v1-beta1",
+ pathPrefix: "/accounts/v1",
bodyEncoder: Coding.makeJSONEncoder()
),
responseDecoder: ResponseDecoder(