Commit ae761fd8 authored by Greg Messner's avatar Greg Messner
Browse files

Fixed getTags().

parent f70ac708
...@@ -153,7 +153,7 @@ public class RepositoryApi extends AbstractApi { ...@@ -153,7 +153,7 @@ public class RepositoryApi extends AbstractApi {
* @throws GitLabApiException * @throws GitLabApiException
*/ */
public List<Tag> getTags(Integer projectId) throws GitLabApiException { public List<Tag> getTags(Integer projectId) throws GitLabApiException {
Response response = put(Response.Status.OK, null, "projects", projectId, "repository", "tags"); Response response = get(Response.Status.OK, null, "projects", projectId, "repository", "tags");
return (response.readEntity(new GenericType<List<Tag>>() { return (response.readEntity(new GenericType<List<Tag>>() {
})); }));
} }
......
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