aboutsummaryrefslogtreecommitdiffstats
path: root/models/git
diff options
context:
space:
mode:
Diffstat (limited to 'models/git')
-rw-r--r--models/git/commit_status.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/git/commit_status.go b/models/git/commit_status.go
index 24fee8c3b4..acb0110200 100644
--- a/models/git/commit_status.go
+++ b/models/git/commit_status.go
@@ -514,7 +514,7 @@ func ConvertFromGitCommit(ctx context.Context, commits []*git.Commit, repo *repo
user_model.ValidateCommitsWithEmails(ctx, commits),
repo.GetTrustModel(),
func(user *user_model.User) (bool, error) {
- return repo_model.IsOwnerMemberCollaborator(repo, user.ID)
+ return repo_model.IsOwnerMemberCollaborator(ctx, repo, user.ID)
},
),
repo,