mirror of
https://github.com/go-gitea/gitea.git
synced 2025-10-02 14:58:31 +00:00
Remove unused param doer
(#34545)
This commit is contained in:
@@ -102,7 +102,7 @@ func GenerateRepository(ctx context.Context, doer, owner *user_model.User, templ
|
||||
defer func() {
|
||||
if err != nil {
|
||||
// we can not use the ctx because it maybe canceled or timeout
|
||||
cleanupRepository(doer, generateRepo.ID)
|
||||
cleanupRepository(generateRepo.ID)
|
||||
}
|
||||
}()
|
||||
|
||||
|
Reference in New Issue
Block a user