diff options
Diffstat (limited to 'routers/repo/webhook.go')
-rw-r--r-- | routers/repo/webhook.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/webhook.go b/routers/repo/webhook.go index 5a4770cdf3..c3150a02f6 100644 --- a/routers/repo/webhook.go +++ b/routers/repo/webhook.go @@ -388,7 +388,7 @@ func TestWebhook(ctx *context.Context) { }, }, }, - Repo: ctx.Repo.Repository.APIFormat(nil), + Repo: ctx.Repo.Repository.APIFormat(models.AccessModeNone), Pusher: apiUser, Sender: apiUser, } |