Redesigned filter bar.

This commit is contained in:
Mike Cao 2024-05-21 21:15:31 -07:00
parent 76cab03bb2
commit 6589bc6ecb
18 changed files with 86 additions and 38 deletions

View file

@ -119,10 +119,7 @@ async function parseFilters(websiteId: string, filters: QueryFilters = {}, optio
};
}
async function rawQuery<T = unknown>(
query: string,
params: Record<string, unknown> = {},
): Promise<T> {
async function rawQuery(query: string, params: Record<string, unknown> = {}): Promise<unknown[]> {
if (process.env.LOG_QUERY) {
log('QUERY:\n', query);
log('PARAMETERS:\n', params);