summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-05-16 13:04:13 +0200
committerRuben Pollan <meskio@sindominio.net>2017-05-16 19:32:25 +0200
commitbee693cd7b92934073d9fdffd6aa38d14e7e251e (patch)
tree3f6f4a07050ad69fd6f4fff7f616d3bf21cc813a /src
parent0e97513603246d770dafb38e57ac6f15b589984b (diff)
[bug] use correct api uri
Allows to upload a key to providers that use a different api uri than api.provider.net - Resolves: #8868
Diffstat (limited to 'src')
-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):