From ab7020c79d10d70a2a2a27a20c41878489e8a66a Mon Sep 17 00:00:00 2001 From: Alec Cohan Date: Wed, 12 Jun 2024 15:13:52 -0400 Subject: [PATCH] Update mbop allowlist endpoints --- cmd/mbop/mbop.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/mbop/mbop.go b/cmd/mbop/mbop.go index 4b0b306..b4c0dff 100644 --- a/cmd/mbop/mbop.go +++ b/cmd/mbop/mbop.go @@ -53,9 +53,9 @@ func main() { r.Delete("/v1/registrations/{uid}", handlers.RegistrationDeleteHandler) r.Get("/v1/registrations/token", handlers.TokenHandler) - r.Get("/api/v1/allowlist", handlers.AllowlistListHandler) - r.Post("/api/v1/allowlist", handlers.AllowlistCreateHandler) - r.Delete("/api/v1/allowlist", handlers.AllowlistDeleteHandler) + r.Get("/api/mbop/v1/allowlist", handlers.AllowlistListHandler) + r.Post("/api/mbop/v1/allowlist", handlers.AllowlistCreateHandler) + r.Delete("/api/mbop/v1/allowlist", handlers.AllowlistDeleteHandler) }) err := mailer.InitConfig()