style: remove unused line
This commit is contained in:
parent
65c85ee687
commit
5fed993f73
@ -269,7 +269,6 @@ export async function getWebsiteOnlineUserCount(
|
|||||||
const res = await prisma.$queryRaw<
|
const res = await prisma.$queryRaw<
|
||||||
Ret[]
|
Ret[]
|
||||||
>`SELECT count(distinct "sessionId") x FROM "WebsiteEvent" where "websiteId" = ${websiteId}::uuid AND "createdAt" >= ${startAt}`;
|
>`SELECT count(distinct "sessionId") x FROM "WebsiteEvent" where "websiteId" = ${websiteId}::uuid AND "createdAt" >= ${startAt}`;
|
||||||
console.log('res', res);
|
|
||||||
|
|
||||||
return res?.[0].x ?? 0;
|
return res?.[0].x ?? 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user