diff --git a/packages/backend/src/db/scylla.ts b/packages/backend/src/db/scylla.ts index 49077fe824..76b09b0156 100644 --- a/packages/backend/src/db/scylla.ts +++ b/packages/backend/src/db/scylla.ts @@ -261,7 +261,7 @@ export async function execNotePaginationQuery( noteId?: string; }, filter?: (_: ScyllaNote[]) => Promise, - userId: User["id"] | null = null, + userId?: User["id"], maxPartitions = config.scylla?.sparseTimelineDays ?? 14, ): Promise { if (!scyllaClient) return [];