mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 16:17:13 +01:00
use uuid
This commit is contained in:
parent
246e4e5f4f
commit
17041efaae
73 changed files with 491 additions and 874 deletions
|
|
@ -11,7 +11,7 @@ export async function getAllWebsites() {
|
|||
},
|
||||
],
|
||||
include: {
|
||||
account: {
|
||||
user: {
|
||||
select: {
|
||||
username: true,
|
||||
},
|
||||
|
|
@ -19,5 +19,5 @@ export async function getAllWebsites() {
|
|||
},
|
||||
});
|
||||
|
||||
return data.map(i => ({ ...i, account: i.account.username }));
|
||||
return data.map(i => ({ ...i, user: i.user.username }));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue