summaryrefslogtreecommitdiff
path: root/ui/app
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/lib/bitmask.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/app/lib/bitmask.js b/ui/app/lib/bitmask.js
index 86646ee7..56ba03d6 100644
--- a/ui/app/lib/bitmask.js
+++ b/ui/app/lib/bitmask.js
@@ -119,8 +119,11 @@ var bitmask = function(){
return call(['bonafide', 'provider', 'create', domain]);
},
- read: function(domain) {
- return call(['bonafide', 'provider', 'read', domain]);
+ read: function(domain, service) {
+ if (typeof service !== 'string') {
+ service = "";
+ }
+ return call(['bonafide', 'provider', 'read', domain, service]);
},
delete: function(domain) {