Fix /api/bal t route to router.APIReg
All checks were successful
cicd / ci (push) Successful in 54s

This commit is contained in:
Bel LaPointe
2024-07-20 10:45:59 -06:00
parent ae44534fc3
commit e8f42c7a5d

View File

@@ -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)