Remove unnecessary changes

This commit is contained in:
Lunny Xiao 2024-05-02 13:58:35 +08:00
parent 22a6407813
commit 45c544932e
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 0 additions and 1 deletions

View File

@ -193,7 +193,6 @@ func HookPostReceive(ctx *gitea_context.PrivateContext) {
})
return
}
perm, err := access_model.GetUserRepoPermission(ctx, repo, pusher)
if err != nil {
log.Error("Failed to Update: %s/%s Error: %v", ownerName, repoName, err)