From 62259c4e9144eb089d18756d52e753dbf30143a6 Mon Sep 17 00:00:00 2001 From: Zaptoss Date: Thu, 19 Sep 2024 21:03:14 +0300 Subject: [PATCH] Fix withdraw --- internal/service/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/router.go b/internal/service/router.go index 8cb6e00..47c64e1 100644 --- a/internal/service/router.go +++ b/internal/service/router.go @@ -52,7 +52,7 @@ func Run(ctx context.Context, cfg config.Config) { r.Route("/verify", func(r chi.Router) { r.Post("/external", handlers.VerifyExternalPassport) }) - r.Post("/withdrawals", nil) + r.Post("/withdrawals", handlers.Withdraw) }) })