API: Present an array of Gitlab::Git::Tag instead of array of rugged tags
This commit is contained in:
parent
5048064dc5
commit
fa7d99ebd4
2 changed files with 2 additions and 1 deletions
|
@ -73,6 +73,7 @@ v 8.7.0 (unreleased)
|
|||
- Diffs load at the correct point when linking from from number
|
||||
- Selected diff rows highlight
|
||||
- Fix emoji categories in the emoji picker
|
||||
- API: Properly display annotated tags for GET /projects/:id/repository/tags (Robert Schilling)
|
||||
- Add encrypted credentials for imported projects and migrate old ones
|
||||
- Author and participants are displayed first on users autocompletion
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ module API
|
|||
# Example Request:
|
||||
# GET /projects/:id/repository/tags
|
||||
get ":id/repository/tags" do
|
||||
present user_project.repo.tags.sort_by(&:name).reverse,
|
||||
present user_project.repository.tags.sort_by(&:name).reverse,
|
||||
with: Entities::RepoTag, project: user_project
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue