fix(labrinth): webhook scopes (#7114)

fix(labrinth): scope paypal & tremendous webhooks in payout scope
This commit is contained in:
François-Xavier Talbot
2026-08-12 18:34:33 +02:00
committed by GitHub
parent 4758cabbf9
commit 552bc3f739
+3 -3
View File
@@ -38,7 +38,9 @@ pub fn config(cfg: &mut web::ServiceConfig) {
cfg.service(
web::scope("/v3/payout")
.wrap(default_cors())
.configure(payouts::config),
.configure(payouts::config)
.service(payouts::paypal_webhook)
.service(payouts::tremendous_webhook),
);
cfg.service(
web::scope("/v3/project")
@@ -56,8 +58,6 @@ pub fn config(cfg: &mut web::ServiceConfig) {
.configure(notifications::config)
.configure(oauth_clients::config)
.configure(organizations::config)
.service(payouts::paypal_webhook)
.service(payouts::tremendous_webhook)
.configure(projects::config)
.configure(reports::config)
.configure(statistics::config)