From 72137b99fc9bf12e46354132dab216bdf7614d66 Mon Sep 17 00:00:00 2001 From: gustavofg1pontes Date: Mon, 7 Oct 2024 19:45:32 -0300 Subject: [PATCH] fix: securityConfig authorizes webhook --- .../com/ifsp/tickets/infra/config/security/SecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/src/main/java/br/com/ifsp/tickets/infra/config/security/SecurityConfig.java b/infrastructure/src/main/java/br/com/ifsp/tickets/infra/config/security/SecurityConfig.java index 53d3904..24c10ef 100644 --- a/infrastructure/src/main/java/br/com/ifsp/tickets/infra/config/security/SecurityConfig.java +++ b/infrastructure/src/main/java/br/com/ifsp/tickets/infra/config/security/SecurityConfig.java @@ -47,7 +47,7 @@ public class SecurityConfig { "/v1/auth/**", "/v1/cep/**", "/v1/event/*/ticketSale", - "/v1/payment/webhook" + "/v1/enrollment/webhook" }; private final CustomUserDetailsService customUserDetailsService;