diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2021-11-10 13:13:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-10 13:13:16 +0800 |
commit | 33fca2b537d36cf998dd27425b2bb8ed5b0965f3 (patch) | |
tree | 817f392502e1c176a5cd7e80290520cb940a8416 /models/repo_avatar.go | |
parent | edbaa5d3f05b5ca397524587ba9db15edd61bc29 (diff) | |
download | gitea-33fca2b537d36cf998dd27425b2bb8ed5b0965f3.tar.gz gitea-33fca2b537d36cf998dd27425b2bb8ed5b0965f3.zip |
Move webhook into models/webhook/ (#17579)
Diffstat (limited to 'models/repo_avatar.go')
-rw-r--r-- | models/repo_avatar.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo_avatar.go b/models/repo_avatar.go index bb5f083dd5..6c5e03c0d0 100644 --- a/models/repo_avatar.go +++ b/models/repo_avatar.go @@ -64,7 +64,7 @@ func RemoveRandomAvatars(ctx context.Context) error { repository := bean.(*Repository) select { case <-ctx.Done(): - return ErrCancelledf("before random avatars removed for %s", repository.FullName()) + return db.ErrCancelledf("before random avatars removed for %s", repository.FullName()) default: } stringifiedID := strconv.FormatInt(repository.ID, 10) |