fix search response, to only server data
This commit is contained in:
parent
9f3a2cdf1f
commit
6b9ec051bd
@ -332,5 +332,5 @@ func (server *Server) searchLocations(ctx *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
ctx.JSON(http.StatusOK, searchRes)
|
||||
ctx.JSON(http.StatusOK, searchRes.Hits)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user