Skip to content

Commit 50ec7c2

Browse files
committed
fix(ses): forward pageSize=0 correctly in listIdentities util
1 parent 79e3d5c commit 50ec7c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/app/api/tools/ses/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export async function listIdentities(
152152
}
153153
) {
154154
const command = new ListEmailIdentitiesCommand({
155-
...(params.pageSize ? { PageSize: params.pageSize } : {}),
155+
...(params.pageSize != null ? { PageSize: params.pageSize } : {}),
156156
...(params.nextToken ? { NextToken: params.nextToken } : {}),
157157
})
158158

0 commit comments

Comments
 (0)