digitalocean
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -137,3 +137,3 @@ (function() { | ||
var params = { tag_name: encodeURIComponent(name) }; | ||
return this.client.delete(url, params, 204, [], callback); | ||
return this.client.delete(url, {}, { query: params }, 204, [], callback); | ||
}; | ||
@@ -140,0 +140,0 @@ |
{ | ||
"name": "digitalocean", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"author": "Phillip Baker <phillbaker@retrodict.com>", | ||
@@ -5,0 +5,0 @@ "description": "nodejs wrapper for digitalocean v2 api", |
@@ -489,3 +489,3 @@ # digitalocean-node | ||
* `client.floatingIps.listActions(floatingIp.ip, [queryObject], [callback])` | ||
* `client.floatingIps.getAction(floatingIp.ip, [callback])` | ||
* `client.floatingIps.getAction(floatingIp.ip, action.id, [callback])` | ||
@@ -492,0 +492,0 @@ Methods resulting in an `action`: |
@@ -879,3 +879,3 @@ 'use strict'; | ||
it('deletes the droplet', function() { | ||
testUtils.api.delete('/v2/droplets', { tag_name: 'awesome' }).reply(204, ''); | ||
testUtils.api.delete('/v2/droplets').query({ tag_name: 'awesome' }).reply(204, ''); | ||
@@ -888,3 +888,3 @@ client.droplets.deleteByTag('awesome', function(err) { | ||
it('returns a promisable', function(done) { | ||
testUtils.api.delete('/v2/droplets', { tag_name: 'awesome' }).reply(204, ''); | ||
testUtils.api.delete('/v2/droplets').query({ tag_name: 'awesome' }).reply(204, ''); | ||
@@ -891,0 +891,0 @@ client.droplets.deleteByTag('awesome').then(function(droplet) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4148407