mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-17 03:44:34 +03:00
use .json in unsub
This commit is contained in:
parent
afdbac72b7
commit
cb15c3ce11
@ -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(!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.")
|
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"
|
method = "delete"
|
||||||
this.req("delete",url,params,true,function(err,res) {
|
this.req("delete",url,params,true,function(err,res) {
|
||||||
cb(err,res)
|
cb(err,res)
|
||||||
|
Loading…
Reference in New Issue
Block a user