diff options
Diffstat (limited to 'cmd/api/routes.go')
-rw-r--r-- | cmd/api/routes.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/api/routes.go b/cmd/api/routes.go index acf13d0..90e7403 100644 --- a/cmd/api/routes.go +++ b/cmd/api/routes.go @@ -8,6 +8,7 @@ func (app *application) routes() *http.ServeMux { mux.HandleFunc("GET /v1/healthcheck", app.healthcheckHandler) mux.HandleFunc("POST /v1/datamaps", app.createDatamapHandler) + mux.HandleFunc("POST /v1/datamapline", app.createDatamapLine) mux.HandleFunc("GET /v1/datamaps/{id}", app.showDatamapHandler) return mux } |