From e37ac6828cd5e98e66b0e289224a6839118b2ed0 Mon Sep 17 00:00:00 2001 From: istae <14264581+istae@users.noreply.github.com> Date: Tue, 24 Dec 2024 08:07:57 +0300 Subject: [PATCH] fix: add swap check for wallet endpoint --- pkg/api/router.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/api/router.go b/pkg/api/router.go index 8cffd8ac32..d2f8fdb0c6 100644 --- a/pkg/api/router.go +++ b/pkg/api/router.go @@ -532,6 +532,7 @@ func (s *Service) mountBusinessDebug() { handle("/wallet", web.ChainHandlers( s.checkChequebookAvailability, + s.checkSwapAvailability, web.FinalHandler(jsonhttp.MethodHandler{ "GET": http.HandlerFunc(s.walletHandler), }),