Skip to content

Commit edd17df

Browse files
authored
Update server.go
1 parent 59322d3 commit edd17df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/location/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func (s *Server) Run() error {
7272

7373
func (s *Server) createServeMux() http.Handler {
7474
mux := tracing.NewServeMux(false, s.tracerProvider, s.logger)
75-
mux.Handle("GET /location", http.HandlerFunc(s.listLocations))
75+
mux.Handle("GET /location", http.HandlerFunc(s.getLocation))
7676
mux.Handle("POST /location", http.HandlerFunc(s.createLocation))
7777
mux.Handle("DELETE /location", http.HandlerFunc(s.deleteLocation))
7878
mux.Handle("GET /healthz", http.HandlerFunc(func(resp http.ResponseWriter, req *http.Request) {

0 commit comments

Comments
 (0)