Skip to content

Commit 0f0dcbc

Browse files
committed
Fixup
1 parent b7de09c commit 0f0dcbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab4j-api/src/main/java/org/gitlab4j/api/SystemHooksApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,6 @@ public void testSystemHook(Long hookId) throws GitLabApiException {
223223
*/
224224
public void addSystemHookUrlVariable(Long hookId, String key, String value) throws GitLabApiException {
225225
GitLabApiForm formData = new GitLabApiForm().withParam("value", value, true);
226-
put(Response.Status.CREATED, formData, "hooks", hookId, "url_variables", key);
226+
putWithFormData(Response.Status.CREATED, formData, "hooks", hookId, "url_variables", key);
227227
}
228228
}

0 commit comments

Comments
 (0)