Remove unused param doer (#34545)

This commit is contained in:
Philip Peterson
2025-06-17 20:12:16 -07:00
committed by GitHub
parent dfea75371c
commit 08c634b7b7
16 changed files with 20 additions and 26 deletions

View File

@@ -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)
}
}()