Skip to content

Commit 00cd092

Browse files
committed
Merge branch 'pagination-fix' into main
2 parents 064f8a5 + 92812b7 commit 00cd092

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/serverless-api/src/api/utils/pagination.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export async function getPaginatedResource<
2424
do {
2525
try {
2626
if (nextPageUrl.startsWith('http')) {
27-
opts.prefixUrl = undefined;
27+
opts.prefixUrl = '';
2828
}
2929
const resp = await client.request('get', nextPageUrl, opts);
3030
const body = resp.body as TList;

0 commit comments

Comments
 (0)