Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nevgeny committed Aug 31, 2023
1 parent 32517e3 commit f141f9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions internal/api/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -2519,6 +2519,7 @@ func (h *Handler) HandleGetPoint(w http.ResponseWriter, r *http.Request) {
respondJSON(w, nil, 0, 0, err, h.verbose, ai.user, sl)
return
}
req.version = "2"
options := seriesRequestOptions{
debugQueries: true,
stat: sl,
Expand Down
4 changes: 2 additions & 2 deletions internal/api/point.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ func selectQueryPoint(version string, preKeyFrom int64, preKeyOnly bool, resolut
}
lod := lods[0]
return &pointQuery{
fromSec: lod.fromSec,
toSec: lod.toSec,
fromSec: from,
toSec: to,
table: lod.table,
hasPreKey: lod.hasPreKey,
location: lod.location,
Expand Down

0 comments on commit f141f9d

Please sign in to comment.