This commit is contained in:
2021-03-18 09:55:58 +08:00
parent a627ab4d82
commit 25186b4e81

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