aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/dbasik-api/routes.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cmd/dbasik-api/routes.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/dbasik-api/routes.go b/cmd/dbasik-api/routes.go
index 3c9e85b..1b02028 100644
--- a/cmd/dbasik-api/routes.go
+++ b/cmd/dbasik-api/routes.go
@@ -25,6 +25,7 @@ func (app *application) routes() *http.ServeMux {
mux.HandleFunc("GET /v1/healthcheck", app.healthcheckHandler)
mux.HandleFunc("GET /v1/getdatamap/{id}", app.getJSONForDatamap) // TODO: not yet implemented
+ mux.HandleFunc("POST /v1/return", app.createReturnHandler)
mux.HandleFunc("POST /v1/datamapsave", app.saveDatamapHandler)
mux.HandleFunc("POST /v1/datamap", app.createDatamapHandler)
mux.HandleFunc("POST /v1/datamapline", app.createDatamapLine)