This commit is contained in:
Brian Cao committed 2022-10-31 23:42:37 -07:00
1 parent 246e4e5f4f
commit 17041efaae
73 files changed
+491 -874

No files matched your search

+2 -2
View File
@@ -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 }));
}