Browse Source

Merge branch 'develop' into dev_educoder

pull/57/head
jasder 5 years ago
parent
commit
7520fa03c2
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      app/controllers/repositories_controller.rb

+ 3
- 1
app/controllers/repositories_controller.rb View File

@@ -103,7 +103,9 @@ class RepositoriesController < ApplicationController
end
def tags
@tags = Gitea::Repository::Tags::ListService.call(current_user&.gitea_token, @owner.login, @project.identifier, {page: params[:page], limit: params[:limit]})
result = Gitea::Repository::Tags::ListService.call(current_user&.gitea_token, @owner.login, @project.identifier, {page: params[:page], limit: params[:limit]})
@tags = result.is_a?(Hash) && result.key?(:status) ? [] : result
end
def contributors


Loading…
Cancel
Save