From 2f6cbe59ebbe19f5084972be749f31f9c047234c Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 29 Apr 2026 23:58:49 +0000 Subject: [PATCH] Add root API to RMO api For getting sentry integration information --- api/routes.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/routes.go b/api/routes.go index 178424dc..590b0b1f 100644 --- a/api/routes.go +++ b/api/routes.go @@ -20,6 +20,7 @@ func AddRoutesRMO(r *mux.Router) { qrcode := resource.QRCode(router) water := resource.Water(router) + r.HandleFunc("", handlerJSON(getRoot)) r.HandleFunc("/compliance-request/image/pool/{public_id}", compliance_request.ImagePoolGet).Methods("GET").Name("compliance-request.image.pool.ByIDGet") r.Handle("/district", handlerJSONSlice(district.List)).Methods("GET") r.Handle("/district/{id}", handlerJSON(district.GetByID)).Methods("GET").Name("district.ByIDGet")