Skip to content

Commit

Permalink
fix: add swap check for wallet endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
istae committed Dec 24, 2024
1 parent 24d68cb commit e37ac68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/api/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}),
Expand Down

0 comments on commit e37ac68

Please sign in to comment.