summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r--src/leap/bitmask/core/mail_services.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/leap/bitmask/core/mail_services.py b/src/leap/bitmask/core/mail_services.py
index 4197700..16b20ed 100644
--- a/src/leap/bitmask/core/mail_services.py
+++ b/src/leap/bitmask/core/mail_services.py
@@ -346,9 +346,7 @@ class KeymanagerContainer(Container):
return keymanager
def _get_api_uri(self, provider):
- # TODO get this from service.json (use bonafide service)
- api_uri = "https://api.{provider}:4430".format(
- provider=provider)
+ api_uri = config.Provider(provider).api_uri
return api_uri
def _get_nicknym_uri(self, provider):