fix: compare code need token

This commit is contained in:
viletyy 2021-07-14 09:55:12 +08:00
parent de2b54c39e
commit fd3fab99ae
1 changed files with 1 additions and 1 deletions

View File

@ -48,6 +48,6 @@ class CompareController < ApplicationController
end
def gitea_compare(base, head)
Gitea::Repository::Commits::CompareService.call(@owner.login, @project.identifier, base, head)
Gitea::Repository::Commits::CompareService.call(@owner.login, @project.identifier, base, head, current_user.gitea_token)
end
end