1
1
mirror of https://github.com/go-gitea/gitea synced 2025-10-31 19:38:23 +00:00
This commit is contained in:
Lunny Xiao
2024-12-12 12:00:25 -08:00
parent 82ca99db2d
commit 9632e6fbc0
3 changed files with 5 additions and 5 deletions

View File

@@ -76,7 +76,7 @@ func GetForksByUserAndOrgs(ctx context.Context, user *user_model.User, repo *Rep
if user == nil {
return repoList, nil
}
forkedRepo, err := GetForkedRepo(ctx, repo.ID, user.ID)
forkedRepo, err := GetForkedRepo(ctx, user.ID, repo.ID)
if err != nil && !IsErrRepoNotExist(err) {
return repoList, err
}