mirror of
https://github.com/umami-software/umami.git
synced 2026-02-05 13:17:19 +01:00
Update packages.
This commit is contained in:
parent
84e13a2a10
commit
b3f9dfa01a
3 changed files with 795 additions and 515 deletions
|
|
@ -161,7 +161,7 @@ async function rawQuery(sql: string, data: object): Promise<any> {
|
|||
return Promise.reject(new Error('Unknown database.'));
|
||||
}
|
||||
|
||||
const query = sql?.replaceAll(/\{\{\s*(\w+)(::\w+)?\s*\}\}/g, (...args) => {
|
||||
const query = sql?.replaceAll(/\{\{\s*(\w+)(::\w+)?\s*}}/g, (...args) => {
|
||||
const [, name, type] = args;
|
||||
params.push(data[name]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue