remove unused null
This commit is contained in:
parent
71bf3dc1d9
commit
965ad49c9b
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ export async function execNotePaginationQuery(
|
||||||
noteId?: string;
|
noteId?: string;
|
||||||
},
|
},
|
||||||
filter?: (_: ScyllaNote[]) => Promise<ScyllaNote[]>,
|
filter?: (_: ScyllaNote[]) => Promise<ScyllaNote[]>,
|
||||||
userId: User["id"] | null = null,
|
userId?: User["id"],
|
||||||
maxPartitions = config.scylla?.sparseTimelineDays ?? 14,
|
maxPartitions = config.scylla?.sparseTimelineDays ?? 14,
|
||||||
): Promise<ScyllaNote[]> {
|
): Promise<ScyllaNote[]> {
|
||||||
if (!scyllaClient) return [];
|
if (!scyllaClient) return [];
|
||||||
|
|
Loading…
Reference in a new issue