Skip to content

Commit 91ba9db

Browse files
committed
Merge
1 parent ade96b7 commit 91ba9db

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

services/repository/files/commit.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@ import (
88
"fmt"
99

1010
"code.gitea.io/gitea/models"
11+
user_model "code.gitea.io/gitea/models/user"
1112
"code.gitea.io/gitea/modules/git"
1213
"code.gitea.io/gitea/modules/structs"
1314
)
1415

1516
// CreateCommitStatus creates a new CommitStatus given a bunch of parameters
1617
// NOTE: All text-values will be trimmed from whitespaces.
1718
// Requires: Repo, Creator, SHA
18-
func CreateCommitStatus(repo *models.Repository, creator *models.User, sha string, status *models.CommitStatus) error {
19+
func CreateCommitStatus(repo *models.Repository, creator *user_model.User, sha string, status *models.CommitStatus) error {
1920
repoPath := repo.RepoPath()
2021

2122
// confirm that commit is exist

0 commit comments

Comments
 (0)