diff --git a/params/params.go b/params/params.go index baa6c64d..2b87a4c5 100644 --- a/params/params.go +++ b/params/params.go @@ -667,9 +667,7 @@ func (g GithubEntity) String() string { switch g.EntityType { case GithubEntityTypeRepository: return fmt.Sprintf("%s/%s", g.Owner, g.Name) - case GithubEntityTypeOrganization: - return g.Owner - case GithubEntityTypeEnterprise: + case GithubEntityTypeOrganization, GithubEntityTypeEnterprise: return g.Owner } return ""