Redesigned filter bar.

This commit is contained in:
Mike Cao committed 2024-05-21 21:15:31 -07:00
1 parent 76cab03bb2
commit 6589bc6ecb
18 files changed
+86 -38

No files matched your search

+1 -4
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);