We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b62378d commit f2646a5Copy full SHA for f2646a5
src/server/utils/fetchProfileGroupData.ts
@@ -4,7 +4,7 @@ import prisma from '../../../prisma/client';
4
5
export async function fetchProfileGroupData(profileId: number) {
6
const data = await prisma.$queryRaw<ProfileGroupQueryResult[]>`
7
- SELECT pg.profile_id as profileId
+ SELECT pg.profile_id as "profileId"
8
FROM profile_group AS pg
9
WHERE pg.lft BETWEEN (
10
SELECT root.lft
0 commit comments