Skip to content

Commit 892e9c1

Browse files
committed
Replace .list( with .paginatedList(
1 parent d0bdad3 commit 892e9c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/atproto/atweb-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class AtwebClient {
1717
}
1818

1919
async listFiles(): Promise<(IoGithubAtwebFile.Record & { uri: AtUri })[]> {
20-
const files = await this.agent.list({
20+
const files = await this.agent.paginatedList({
2121
collection: 'io.github.atweb.file',
2222
repo: this.user.did,
2323
});

src/lib/atproto/atweb-unauthed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export async function downloadFile(did: At.DID, rkey: string): Promise<Page> {
190190
}
191191

192192
export async function getRingsUserIsAMemberOf(didOrHandle: string) {
193-
const { records } = await unauthedAgent.list({
193+
const { records } = await unauthedAgent.paginatedList({
194194
collection: 'io.github.atweb.ringMembership',
195195
repo: didOrHandle,
196196
});

0 commit comments

Comments
 (0)