Skip to content

Duplicated attribute namespace_id when creating project #657

@jflefebvre06

Description

@jflefebvre06

public Project createProject(final Project project, final String importUrl) throws GitLabApiException {

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

...

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

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions