We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ebaf80e + e54b958 commit a2091a3Copy full SHA for a2091a3
1 file changed
src/main/java/org/gitlab4j/api/TagsApi.java
@@ -424,7 +424,7 @@ public Optional<ProtectedTag> getOptionalProtectedTag(Object projectIdOrPath, St
424
* @throws GitLabApiException if any exception occurs
425
*/
426
public ProtectedTag protectTag(Object projectIdOrPath, String name, AccessLevel createAccessLevel) throws GitLabApiException {
427
- Form formData = new GitLabApiForm().withParam("name", name, true).withParam("create_access_Level", createAccessLevel);
+ Form formData = new GitLabApiForm().withParam("name", name, true).withParam("create_access_level", createAccessLevel);
428
Response response = post(Response.Status.OK, formData, "projects", getProjectIdOrPath(projectIdOrPath), "protected_tags");
429
return (response.readEntity(ProtectedTag.class));
430
}
0 commit comments