feat(api): fix POST /invoice
This commit is contained in:
@@ -4,6 +4,8 @@ import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// RegisterRoutes registers the HTTP routes for the invoice service.
|
||||
func (s Service) RegisterRoutes(mux *http.ServeMux) {
|
||||
mux.HandleFunc("POST /invoice", s.createInvoice)
|
||||
mux.HandleFunc("POST /invoice/send", s.sendInvoice)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user