diff options
-rw-r--r-- | src/leap/bitmask/bonafide/service.py | 3 | ||||
-rw-r--r-- | src/leap/bitmask/core/dispatcher.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/leap/bitmask/bonafide/service.py b/src/leap/bitmask/bonafide/service.py index b9aaf1af..43f51768 100644 --- a/src/leap/bitmask/bonafide/service.py +++ b/src/leap/bitmask/bonafide/service.py @@ -125,7 +125,8 @@ class BonafideService(HookableService): return self._bonafide.do_get_provider(domain) def do_provider_delete(self, domain): - return self._bonafide.do_provider_delete(domain) + self._bonafide.do_provider_delete(domain) + return {'delete': 'ok'} def do_provider_list(self, seeded=False): return self._bonafide.do_provider_list(seeded) diff --git a/src/leap/bitmask/core/dispatcher.py b/src/leap/bitmask/core/dispatcher.py index 41b091f7..ccb17db5 100644 --- a/src/leap/bitmask/core/dispatcher.py +++ b/src/leap/bitmask/core/dispatcher.py @@ -94,7 +94,7 @@ class ProviderCmd(SubCommand): @register_method("") def do_DELETE(self, bonafide, *parts): domain = parts[2] - bonafide.do_provider_delete(domain) + return bonafide.do_provider_delete(domain) @register_method("[{'domain': str}]") def do_LIST(self, bonafide, *parts): |