Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2deb74c

Browse files
kainisoftclayreimann
authored andcommitted
Fix incorrect path for delete hook API (#418)
1 parentbc37708 commit2deb74c

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
@@ -603,7 +603,7 @@ class Repository extends Requestable {
603603
*@return {Promise} - the promise for the http request
604604
*/
605605
deleteHook(id,cb){
606-
returnthis._request('DELETE',`${this.__fullname}/hooks/${id}`,null,cb);
606+
returnthis._request('DELETE',`/repos/${this.__fullname}/hooks/${id}`,null,cb);
607607
}
608608

609609
/**

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp