fix search response, to only server data

This commit is contained in:
nochill 2024-03-03 20:38:23 +07:00
parent 9f3a2cdf1f
commit 6b9ec051bd

View File

@ -332,5 +332,5 @@ func (server *Server) searchLocations(ctx *gin.Context) {
return
}
ctx.JSON(http.StatusOK, searchRes)
ctx.JSON(http.StatusOK, searchRes.Hits)
}