We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e405be8 + ba5a1ef commit 750213bCopy full SHA for 750213b
src/main/java/org/gitlab4j/api/AbstractApi.java
@@ -155,7 +155,7 @@ public Object getLabelIdOrName(Object obj) throws GitLabApiException {
155
return (id);
156
}
157
158
- String name = ((User) obj).getName();
+ String name = ((Label) obj).getName();
159
if (name != null && name.trim().length() > 0) {
160
return (urlEncode(name.trim()));
161
0 commit comments