This commit is contained in:
vilet.yy 2021-03-18 09:55:58 +08:00
parent a627ab4d82
commit 25186b4e81
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class Repositories::DetailService < ApplicationService
end
def tag_suitable
Gitea::Repository::Tags::ListService.call(@user&.gitea_token, @owner.login, @repo.identifier)
Gitea::Repository::Tags::ListService.call(@owner&.gitea_token, @owner.login, @repo.identifier)
end
def contributor_suitable