Skip to content

Commit

Permalink
Update ProjectApi to allow topic removal (#1120)
Browse files Browse the repository at this point in the history
  • Loading branch information
charliedough authored May 15, 2024
1 parent fcecb0b commit 24d2f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/gitlab4j/api/ProjectApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -1360,7 +1360,7 @@ public Project updateProject(Project project) throws GitLabApiException {
formData.withParam("tag_list", String.join(",", project.getTagList()));
}

if (project.getTopics() != null && !project.getTopics().isEmpty()) {
if (project.getTopics() != null) {
formData.withParam("topics", String.join(",", project.getTopics()));
}
}
Expand Down

0 comments on commit 24d2f7e

Please sign in to comment.