TODO: What to do with NextBatch here?

This commit is contained in:
Neil Alexander 2020-01-20 16:27:41 +00:00
parent 54838a7b7a
commit 50f26a3002

View file

@ -180,7 +180,7 @@ func NewResponse(pos SyncPosition) *Response {
// Fill next_batch with a pagination token. Since this is a response to a sync request, we can assume // Fill next_batch with a pagination token. Since this is a response to a sync request, we can assume
// we'll always return a stream token. // we'll always return a stream token.
res.NextBatch = NewPaginationTokenFromTypeAndPosition(PaginationTokenTypeStream, pos).String() //res.NextBatch = NewPaginationTokenFromTypeAndPosition(PaginationTokenTypeStream, pos).String()
return &res return &res
} }