aboutsummaryrefslogtreecommitdiffstats
path: root/services/webhook/webhook.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/webhook/webhook.go')
-rw-r--r--services/webhook/webhook.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/webhook/webhook.go b/services/webhook/webhook.go
index 342e764f4d..1780022eb4 100644
--- a/services/webhook/webhook.go
+++ b/services/webhook/webhook.go
@@ -224,7 +224,7 @@ func PrepareWebhooks(ctx context.Context, source EventSource, event webhook_mode
}
ws = append(ws, repoHooks...)
- owner = source.Repository.MustOwner()
+ owner = source.Repository.MustOwner(ctx)
}
// check if owner is an org and append additional webhooks