Populate report URI and district on communication list

This commit is contained in:
Eli Ribble 2026-04-27 23:12:15 +00:00
parent 909665ab6c
commit 6350aa00d5
No known key found for this signature in database
2 changed files with 6 additions and 4 deletions

View file

@ -22,7 +22,7 @@ func AddRoutes(r *mux.Router) {
r.Handle("/avatar/{uuid}", authenticatedHandlerGetImage(avatar.ByUUIDGet)).Methods("GET").Name("avatar.ByUUIDGet")
r.Handle("/avatar", authenticatedHandlerPostMultipart(avatar.Create, file.CollectionAvatar)).Methods("POST")
r.Handle("/client/ios", auth.NewEnsureAuth(handleClientIos)).Methods("GET")
communication := resource.Communication(r)
communication := resource.Communication(router)
r.Handle("/communication", authenticatedHandlerJSON(communication.List)).Methods("GET")
compliance_request := resource.ComplianceRequest(router)
r.Handle("/compliance-request/mailer", authenticatedHandlerJSONPost(compliance_request.CreateMailer)).Methods("POST")