Skip to content

Commit 9d7c8a1

Browse files
authored
Merge pull request #688 from gitlab4j/issue-657
fix: #657 Remove duplicate set of namespace_id
2 parents a80780c + d80899f commit 9d7c8a1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/java/org/gitlab4j/api/ProjectApi.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,10 +1046,6 @@ public Project createProject(Project project, String importUrl) throws GitLabApi
10461046
}
10471047
}
10481048

1049-
if (project.getNamespace() != null) {
1050-
formData.withParam("namespace_id", project.getNamespace().getId());
1051-
}
1052-
10531049
Response response = post(Response.Status.CREATED, formData, "projects");
10541050
return (response.readEntity(Project.class));
10551051
}

0 commit comments

Comments
 (0)