Skip to content

Commit 00afe31

Browse files
committed
fix(deleteHook): Use the full name of the repository
fixes #363 closes #364
1 parent 7a5d9d0 commit 00afe31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Repository.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ class Repository extends Requestable {
562562
* @return {Promise} - the promise for the http request
563563
*/
564564
deleteHook(id, cb) {
565-
return this._request('DELETE', `/repos/${this.__fullname}/hooks/${id}`, null, cb);
565+
return this._request('DELETE', `${this.__fullname}/hooks/${id}`, null, cb);
566566
}
567567

568568
/**

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy