diff --git a/lib/Repository.js b/lib/Repository.js index de77ae48..d4ed7fe7 100644 --- a/lib/Repository.js +++ b/lib/Repository.js @@ -547,7 +547,7 @@ class Repository extends Requestable { * @return {Promise} - the promise for the http request */ deleteHook(id, cb) { - return this._request('DELETE', `${this.__repoPath}/hooks/${id}`, null, cb); + return this._request('DELETE', `${this.__fullname}/hooks/${id}`, null, cb); } /**
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: