Skip to content

Commit 24d2f7e

Browse files
authored
Update ProjectApi to allow topic removal (#1120)
1 parent fcecb0b commit 24d2f7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/main/java/org/gitlab4j/api/ProjectApi.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1360,7 +1360,7 @@ public Project updateProject(Project project) throws GitLabApiException {
13601360
formData.withParam("tag_list", String.join(",", project.getTagList()));
13611361
}
13621362

1363-
if (project.getTopics() != null && !project.getTopics().isEmpty()) {
1363+
if (project.getTopics() != null) {
13641364
formData.withParam("topics", String.join(",", project.getTopics()));
13651365
}
13661366
}

0 commit comments

Comments
 (0)