diff --git a/src/db/events.ts b/src/db/events.ts index 488b5c3..beb057e 100644 --- a/src/db/events.ts +++ b/src/db/events.ts @@ -99,8 +99,8 @@ function getFilterQuery(filter: Filter) { return query; } -async function getFilters(filters: Filter[]): Promise; async function getFilters(filters: [Filter]): Promise[]>; +async function getFilters(filters: Filter[]): Promise; async function getFilters(filters: Filter[]) { const queries = filters .map(getFilterQuery)