Browse Source

Fix body

master
Tony Kovanen 9 years ago
parent
commit
0e2041d638
  1. 5
      lib/index.js

5
lib/index.js

@ -186,10 +186,13 @@ export default class Now extends EventEmitter {
}
async remove (deploymentId) {
const data = { deploymentId };
await retry(async (bail) => {
if (this._debug) console.time('> [debug] /remove');
const res = await this._fetch('/remove', {
method: 'DELETE'
method: 'DELETE',
body: data
});
if (this._debug) console.timeEnd('> [debug] /remove');

Loading…
Cancel
Save