Skip to content

Commit

Permalink
Fix WithUntil
Browse files Browse the repository at this point in the history
  • Loading branch information
Florimond committed May 27, 2019
1 parent a64c9ac commit befb623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,5 +166,5 @@ func WithFrom(from time.Time) Option {

// WithUntil request messages until a point in time.
func WithUntil(until time.Time) Option {
return option("from=" + strconv.FormatInt(getUTCTimestamp(until), 10))
return option("until=" + strconv.FormatInt(getUTCTimestamp(until), 10))
}

0 comments on commit befb623

Please sign in to comment.