summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2016-06-20 20:48:01 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2016-06-22 16:56:24 +0200
commitcc640c9b05aa6f74c7610bfa141b6f2c631ff9b8 (patch)
treed50fc24651a81cfbdc429c1a29df62556586511d
parent1206c054753e25d2c3d542cefdb2adca823c09a1 (diff)
[bug] the api_uri in Dicovery is called netloc
-rw-r--r--bonafide/src/leap/bonafide/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bonafide/src/leap/bonafide/config.py b/bonafide/src/leap/bonafide/config.py
index 9da0557..c3097cc 100644
--- a/bonafide/src/leap/bonafide/config.py
+++ b/bonafide/src/leap/bonafide/config.py
@@ -335,7 +335,7 @@ class Provider(object):
if 'mx' in self._provider_config.services:
soledad_uri = '/1/config/soledad-service.json'
smtp_uri = '/1/config/smtp-service.json'
- base = self._disco.api_uri
+ base = self._disco.netloc
fetch = self._fetch_provider_configs_unauthenticated
get_path = self._get_service_config_path