From e8f42c7a5d0cd0e5026f22dceec818725276d774 Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Sat, 20 Jul 2024 10:45:59 -0600 Subject: [PATCH] Fix /api/bal t route to router.APIReg --- cmd/http/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/http/router.go b/cmd/http/router.go index d5d89c8..0fc6cfa 100644 --- a/cmd/http/router.go +++ b/cmd/http/router.go @@ -73,7 +73,7 @@ func (router Router) API(w http.ResponseWriter, r *http.Request) { router.APITransactions(w, r) case "/api/amend": router.APIAmend(w, r) - case "/api/reg": + case "/api/reg", "/api/bal": router.APIReg(w, r) default: http.NotFound(w, r)