Skip to content

Commit

Permalink
fix: avoid looping
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeroman committed Mar 4, 2024
1 parent ec3b3fb commit 6bb382d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utils/element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ export class Element {
queryParams.append("listed_after", String(params.listed_after));
}

if (params.listed_before) {
queryParams.append("listed_before", String(params.listed_before));
}

if (params.offset) {
queryParams.append("offset", String(params.offset));
}
Expand Down

0 comments on commit 6bb382d

Please sign in to comment.