Skip to content

Commit

Permalink
util: Fix bug in fflogs tool (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
valarnin committed Jul 8, 2024
1 parent ed874eb commit fbb0343
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions util/logtools/fflogs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ class FFLogs {
// For Event retrieval, check whether the data is paginated.
// If it is, recursively retrieve it until it is all obtained.
if (data.nextPageTimestamp !== undefined) {
const nextOptions = new URLSearchParams();
Object.assign(nextOptions, options);
const nextOptions = new URLSearchParams(options);
nextOptions.set('start', data.nextPageTimestamp.toString());
data = data as FFLogsEventResponse;
const nextData = await this.callFFLogs(
Expand Down

0 comments on commit fbb0343

Please sign in to comment.