mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 14:17:13 +01:00
update insights query
This commit is contained in:
parent
8f015e870d
commit
632ecd1a1b
3 changed files with 82 additions and 37 deletions
|
|
@ -119,7 +119,7 @@ async function parseFilters(websiteId: string, filters: QueryFilters = {}, optio
|
|||
};
|
||||
}
|
||||
|
||||
async function rawQuery(query: string, params: Record<string, unknown> = {}): Promise<unknown[]> {
|
||||
async function rawQuery(query: string, params: Record<string, unknown> = {}): Promise<unknown> {
|
||||
if (process.env.LOG_QUERY) {
|
||||
log('QUERY:\n', query);
|
||||
log('PARAMETERS:\n', params);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue