mirror of
https://github.com/go-gitea/gitea
synced 2025-10-31 19:38:23 +00:00
Fix bug
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user