diff --git a/index.js b/index.js index 7789c21..5b447ff 100644 --- a/index.js +++ b/index.js @@ -238,7 +238,7 @@ Resource.prototype.mapDefaultAction = function(key, fn){ this.patch(fn); break; case 'destroy': - this.del(fn); + this.delete(fn); break; } };