pass confirm param

This commit is contained in:
aj 2017-10-02 19:09:06 +00:00
parent 7c8e9fb526
commit 6328c40dc2
1 changed files with 8 additions and 2 deletions

View File

@ -12,7 +12,10 @@ OAUTH3._pkgs['www@daplie.com'] = {
method: 'POST' method: 'POST'
, url: OAUTH3.url.normalize(providerUri) , url: OAUTH3.url.normalize(providerUri)
+ '/api/www@daplie.com/acl/sites/' + opts.hostname + '/api/www@daplie.com/acl/sites/' + opts.hostname
+ '?' + OAUTH3.utils.query.stringify({ tld: opts.tld, sld: opts.sld/*, sub: opts.sub*/, unzip: opts.unzip, strip: opts.strip, path: opts.path }) + '?' + OAUTH3.utils.query.stringify({
tld: opts.tld, sld: opts.sld/*, sub: opts.sub*/, unzip: opts.unzip
, strip: opts.strip, path: opts.path
})
, session: session , session: session
, multipart: opts.multipart // special property to be figured out by browser request code , multipart: opts.multipart // special property to be figured out by browser request code
, progress: opts.progress , progress: opts.progress
@ -145,7 +148,10 @@ OAUTH3._pkgs['www@daplie.com'] = {
method: 'DELETE' method: 'DELETE'
, url: OAUTH3.url.normalize(providerUri) , url: OAUTH3.url.normalize(providerUri)
+ '/api/www@daplie.com/acl/sites/' + opts.hostname + '/api/www@daplie.com/acl/sites/' + opts.hostname
+ '?' + OAUTH3.utils.query.stringify({ tld: opts.tld, sld: opts.sld/*, sub: opts.sub*/, path: opts.path }) + '?' + OAUTH3.utils.query.stringify({
tld: opts.tld, sld: opts.sld/*, sub: opts.sub*/
, path: opts.path, confirm: opts.confirm
})
, session: session , session: session
, multipart: opts.multipart // special property to be figured out by browser request code , multipart: opts.multipart // special property to be figured out by browser request code
}).then(function (result) { }).then(function (result) {