Skip to content

Commit

Permalink
fix: Remove duplicate set of namespace_id
Browse files Browse the repository at this point in the history
  • Loading branch information
jabby committed Apr 11, 2021
1 parent a80780c commit d80899f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/org/gitlab4j/api/ProjectApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -1046,10 +1046,6 @@ public Project createProject(Project project, String importUrl) throws GitLabApi
}
}

if (project.getNamespace() != null) {
formData.withParam("namespace_id", project.getNamespace().getId());
}

Response response = post(Response.Status.CREATED, formData, "projects");
return (response.readEntity(Project.class));
}
Expand Down

0 comments on commit d80899f

Please sign in to comment.