mirror of
https://github.com/go-gitea/gitea
synced 2025-07-07 19:17:21 +00:00
Move webhook into models/webhook/ (#17579)
This commit is contained in:
@ -254,7 +254,7 @@ func SyncRepositoryHooks(ctx context.Context) error {
|
||||
repo := bean.(*models.Repository)
|
||||
select {
|
||||
case <-ctx.Done():
|
||||
return models.ErrCancelledf("before sync repository hooks for %s", repo.FullName())
|
||||
return db.ErrCancelledf("before sync repository hooks for %s", repo.FullName())
|
||||
default:
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user