remove unused null

This commit is contained in:
Namekuji 2023-08-12 05:26:21 -04:00
parent 71bf3dc1d9
commit 965ad49c9b
No known key found for this signature in database
GPG key ID: 1D62332C07FBA532

View file

@ -261,7 +261,7 @@ export async function execNotePaginationQuery(
noteId?: string;
},
filter?: (_: ScyllaNote[]) => Promise<ScyllaNote[]>,
userId: User["id"] | null = null,
userId?: User["id"],
maxPartitions = config.scylla?.sparseTimelineDays ?? 14,
): Promise<ScyllaNote[]> {
if (!scyllaClient) return [];