Skip to content

Commit

Permalink
fix delete
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjstone committed Aug 20, 2012
1 parent 581e4c4 commit 17f7ddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -106,7 +106,7 @@ S3.prototype.delete = function(path, headers, callback) {
callback = headers;
headers = {};
}
this.client.delete(path, headers).on('response', function(res) {
this.client.del(path, headers).on('response', function(res) {
if (res.statusCode != 200) {
return callback(new Error('ERROR: status code = '+res.statusCode), res.body);
}
Expand Down

0 comments on commit 17f7ddf

Please sign in to comment.