Commit 04aa96be authored by Greg Messner's avatar Greg Messner
Browse files

Fixed issue with space in param name (#356).

parent cc17e2c0
...@@ -192,7 +192,7 @@ public class GitLabApiForm extends Form { ...@@ -192,7 +192,7 @@ public class GitLabApiForm extends Form {
throw new IllegalArgumentException(name + " cannot be empty or null"); throw new IllegalArgumentException(name + " cannot be empty or null");
} }
this.param(name, stringValue); this.param(name.trim(), stringValue);
return (this); return (this);
} }
......
...@@ -254,7 +254,7 @@ public class ProjectFilter { ...@@ -254,7 +254,7 @@ public class ProjectFilter {
.withParam("with_programming_language", withProgrammingLanguage) .withParam("with_programming_language", withProgrammingLanguage)
.withParam("wiki_checksum_failed", wikiChecksumFailed) .withParam("wiki_checksum_failed", wikiChecksumFailed)
.withParam("repository_checksum_failed", repositoryChecksumFailed) .withParam("repository_checksum_failed", repositoryChecksumFailed)
.withParam("min_access_level ", (minAccessLevel != null ? minAccessLevel.toValue() : null) .withParam("min_access_level", (minAccessLevel != null ? minAccessLevel.toValue() : null)
); );
} }
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment