Skip to content

Commit 811019d

Browse files
authored
chore(clerk-js): Add temporary API keys limit query for pagination compatibility (#6451)
1 parent 813e738 commit 811019d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/tired-lines-rhyme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/clerk-js': patch
3+
---
4+
5+
Added temporary patch for API keys pagination compatibility

packages/clerk-js/src/core/modules/apiKeys/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ export class APIKeys implements APIKeysNamespace {
4343
path: '/api_keys',
4444
search: {
4545
subject: params?.subject ?? BaseResource.clerk.organization?.id ?? BaseResource.clerk.user?.id ?? '',
46+
// TODO: (rob) Remove when server-side pagination is implemented.
47+
limit: '100',
4648
},
4749
})
4850
.then(res => {

0 commit comments

Comments
 (0)