Commit 401e6fc0 authored by Ralph Pichler's avatar Ralph Pichler Committed by GitHub

fix: always enable tx api (#2179)

parent cbcdaded
...@@ -169,6 +169,7 @@ func (s *Service) newRouter() *mux.Router { ...@@ -169,6 +169,7 @@ func (s *Service) newRouter() *mux.Router {
"GET": http.HandlerFunc(s.swapCashoutStatusHandler), "GET": http.HandlerFunc(s.swapCashoutStatusHandler),
"POST": http.HandlerFunc(s.swapCashoutHandler), "POST": http.HandlerFunc(s.swapCashoutHandler),
}) })
}
router.Handle("/transactions", jsonhttp.MethodHandler{ router.Handle("/transactions", jsonhttp.MethodHandler{
"GET": http.HandlerFunc(s.transactionListHandler), "GET": http.HandlerFunc(s.transactionListHandler),
...@@ -177,7 +178,6 @@ func (s *Service) newRouter() *mux.Router { ...@@ -177,7 +178,6 @@ func (s *Service) newRouter() *mux.Router {
"GET": http.HandlerFunc(s.transactionDetailHandler), "GET": http.HandlerFunc(s.transactionDetailHandler),
"POST": http.HandlerFunc(s.transactionResendHandler), "POST": http.HandlerFunc(s.transactionResendHandler),
}) })
}
router.Handle("/tags/{id}", jsonhttp.MethodHandler{ router.Handle("/tags/{id}", jsonhttp.MethodHandler{
"GET": http.HandlerFunc(s.getTagHandler), "GET": http.HandlerFunc(s.getTagHandler),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment