Skip to content

Commit d2b5025

Browse files
authored
Merge pull request #145 from beenotung/patch-1
2 parents be6f9a1 + bc5e87f commit d2b5025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ you can request a snapshot and an eventstream even by limit the query with a 'ma
305305

306306
var revMax = 8; // if you omit revMax or you define it as -1 it will retrieve until the end
307307

308-
es.getFromSnapshot('streamId' || {/* query */}, revMax, function(err, stream) {
308+
es.getFromSnapshot('streamId' || {/* query */}, revMax, function(err, snapshot, stream) {
309309
var snap = snapshot.data;
310310
var history = stream.events; // events history from given snapshot
311311

0 commit comments

Comments
 (0)