mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 08:07:12 +01:00
Refactored functionality for all time date range.
This commit is contained in:
parent
c3973f5fb5
commit
d06808985b
11 changed files with 91 additions and 33 deletions
|
|
@ -122,7 +122,7 @@ async function findUnique(data) {
|
|||
throw `${data.length} records found when expecting 1.`;
|
||||
}
|
||||
|
||||
return data[0] ?? null;
|
||||
return findFirst(data);
|
||||
}
|
||||
|
||||
async function findFirst(data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue