Skip to content

Commit bfedce9

Browse files
authored
docs: update getEvents guide (#907)
1 parent a4bc173 commit bfedce9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

www/docs/guides/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ while (continuationToken) {
167167
address: myContractAddress,
168168
keys: [keyFilter],
169169
chunk_size: 5,
170-
continuation_token: continuationToken
170+
continuation_token: continuationToken === "0" ? undefined : continuationToken
171171
});
172172
const nbEvents = eventsRes.events.length;
173173
continuationToken=eventsRes.continuation_token;

0 commit comments

Comments
 (0)