]> source.dussan.org Git - gitea.git/commit
Only query team tables if repository is under org when getting assignees (#32414)
authorLunny Xiao <xiaolunwen@gmail.com>
Tue, 5 Nov 2024 07:13:52 +0000 (23:13 -0800)
committerGitHub <noreply@github.com>
Tue, 5 Nov 2024 07:13:52 +0000 (07:13 +0000)
commit1887c75c35c1d16372b1dbe2b792e374b558ce1f
tree3793722561292d9627a1487b498bd093182ede12
parent61c35590c793449d3133b00f58302b5cce90d69c
Only query team tables if repository is under org when getting assignees (#32414)

It's unnecessary to query the team table if the repository is not under
organization when getting assignees.
models/repo/user_repo.go