From cb15c3ce11d99d3cf9870b09799c7b02b2125d1f Mon Sep 17 00:00:00 2001 From: Galen Wolfe-Pauly Date: Fri, 10 Apr 2015 15:45:17 -0700 Subject: [PATCH] use .json in unsub --- main/lib/urb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/lib/urb.js b/main/lib/urb.js index 38f8630e6..6561707d4 100644 --- a/main/lib/urb.js +++ b/main/lib/urb.js @@ -246,7 +246,7 @@ window.urb.unsubscribe = function(params,cb) { if(!params.appl) throw new Error("You must specify an appl for urb.unsubscribe.") if(!cb) throw new Error("You must supply a callback to urb.unsubscribe.") - url = "/~/is/"+this.gsig(params)+"/" + url = "/~/is/"+this.gsig(params)+".json" method = "delete" this.req("delete",url,params,true,function(err,res) { cb(err,res)