diff --git a/api/location.go b/api/location.go index 98e95c1..d35fdf3 100644 --- a/api/location.go +++ b/api/location.go @@ -332,5 +332,5 @@ func (server *Server) searchLocations(ctx *gin.Context) { return } - ctx.JSON(http.StatusOK, searchRes) + ctx.JSON(http.StatusOK, searchRes.Hits) }