Commit db379f12 authored by Greg Messner's avatar Greg Messner
Browse files

Fixed updatePushRules() (#171).

parent 8c253b63
......@@ -2033,7 +2033,7 @@ public class ProjectApi extends AbstractApi implements Constants {
.withParam("file_name_regex", pushRule.getFileNameRegex())
.withParam("max_file_size", pushRule.getMaxFileSize());
Response response = post(Response.Status.OK, formData, "projects", projectId, "push_rule");
final Response response = putWithFormData(Response.Status.OK, formData, "projects", projectId, "push_rule");
return (response.readEntity(PushRules.class));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment