We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 661b557 commit e951ec5Copy full SHA for e951ec5
1 file changed
cmd/serve_http.go
@@ -159,7 +159,7 @@ func registerHandler(app app.App) *mux.Router {
159
public.HandleFunc("/payments", app.TestingTransactionHandler.CreatePayment).Methods(http.MethodPost)
160
public.HandleFunc("/payments", app.TestingTransactionHandler.GetAllPayments).Methods(http.MethodGet)
161
public.HandleFunc("/payments/{order_no}", app.TestingTransactionHandler.GetPayment).Methods(http.MethodGet)
162
- // public.HandleFunc("/webhooks/xendit", app.TestingTransactionHandler.XenditWebhook).Methods(http.MethodPost)
+ public.HandleFunc("/webhooks/xendit", app.TestingTransactionHandler.XenditWebhook).Methods(http.MethodPost)
163
164
protectedV1Route := v1.NewRoute().Subrouter()
165
protectedV1Route.Use(app.Middleware.AuthMiddleware(constants.RoleUser))
0 commit comments