Fix /api/bal t route to router.APIReg
cicd / ci (push) Successful in 54s
Details
cicd / ci (push) Successful in 54s
Details
parent
ae44534fc3
commit
e8f42c7a5d
|
|
@ -73,7 +73,7 @@ func (router Router) API(w http.ResponseWriter, r *http.Request) {
|
||||||
router.APITransactions(w, r)
|
router.APITransactions(w, r)
|
||||||
case "/api/amend":
|
case "/api/amend":
|
||||||
router.APIAmend(w, r)
|
router.APIAmend(w, r)
|
||||||
case "/api/reg":
|
case "/api/reg", "/api/bal":
|
||||||
router.APIReg(w, r)
|
router.APIReg(w, r)
|
||||||
default:
|
default:
|
||||||
http.NotFound(w, r)
|
http.NotFound(w, r)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue