Skip to content

Commit 3c819a0

Browse files
a1012112796lafriks
andauthored
Update models/issue.go
Co-authored-by: Lauris BH <[email protected]>
1 parent 94b29df commit 3c819a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/issue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1848,7 +1848,7 @@ func (issue *Issue) ResolveMentionsByVisibility(ctx DBContext, doer *User, menti
18481848

18491849
repoOwnerIsOrg := issue.Repo.Owner.IsOrganization()
18501850
if repoOwnerIsOrg {
1851-
mentionTeams = make([]string, 5)
1851+
mentionTeams = make([]string, 0, 5)
18521852
}
18531853

18541854
resolved[doer.LowerName] = true

0 commit comments

Comments
 (0)