FIX update git commit api for gitea platform

This commit is contained in:
Jasder
2020-05-29 19:24:55 +08:00
parent e7c4668f63
commit c018e79b88
2 changed files with 3 additions and 4 deletions

View File

@@ -49,7 +49,6 @@ class RepositoriesController < ApplicationController
def commit
@commit = Gitea::Repository::Commits::GetService.new(@repo.user.login, @repo.identifier, params[:sha], current_user.gitea_token).call
@custom_commit = Gitea::Repository::Commits::GetService.new(@repo.user.login, @repo.identifier, params[:sha], current_user.gitea_token, true).call
end
def tags