Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
d80899f9
Unverified
Commit
d80899f9
authored
Apr 11, 2021
by
Gautier de Saint Martin Lacaze
Browse files
fix: Remove duplicate set of namespace_id
parent
a80780c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/ProjectApi.java
View file @
d80899f9
...
@@ -1046,10 +1046,6 @@ public class ProjectApi extends AbstractApi implements Constants {
...
@@ -1046,10 +1046,6 @@ public class ProjectApi extends AbstractApi implements Constants {
}
}
}
}
if
(
project
.
getNamespace
()
!=
null
)
{
formData
.
withParam
(
"namespace_id"
,
project
.
getNamespace
().
getId
());
}
Response
response
=
post
(
Response
.
Status
.
CREATED
,
formData
,
"projects"
);
Response
response
=
post
(
Response
.
Status
.
CREATED
,
formData
,
"projects"
);
return
(
response
.
readEntity
(
Project
.
class
));
return
(
response
.
readEntity
(
Project
.
class
));
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment