Comparing version 0.2.5 to 0.2.6
@@ -115,3 +115,6 @@ // Generated by CoffeeScript 1.6.3 | ||
path: this._translateUrl(path), | ||
method: "DELETE" | ||
method: "DELETE", | ||
headers: { | ||
'Content-Length': 0 | ||
} | ||
}; | ||
@@ -203,3 +206,3 @@ return this._request(options, fn); | ||
} | ||
this.debug(options.path); | ||
this.debug(options.method, options.path); | ||
this._request_options(options); | ||
@@ -206,0 +209,0 @@ if (options.protocol === 'http:') { |
@@ -84,4 +84,3 @@ // Generated by CoffeeScript 1.6.3 | ||
ProjectHooks.prototype.remove = function(projectId, hookId, fn) { | ||
var params, | ||
_this = this; | ||
var _this = this; | ||
if (fn == null) { | ||
@@ -91,6 +90,3 @@ fn = null; | ||
this.debug("Projects::removeHook()"); | ||
params = { | ||
hook_id: parseInt(hookId) | ||
}; | ||
return this["delete"]("projects/" + (parseInt(projectId)) + "/hooks", params, function(data) { | ||
return this["delete"]("projects/" + (parseInt(projectId)) + "/hooks/" + (parseInt(hookId)), function(data) { | ||
if (fn) { | ||
@@ -97,0 +93,0 @@ return fn(data); |
{ | ||
"name": "gitlab", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "gitlab api nodejs library", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50809
39
1030