Skip to content

Commit f2646a5

Browse files
committed
fix: adapt fetchProfileGroupData for postgresql
1 parent b62378d commit f2646a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/utils/fetchProfileGroupData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import prisma from '../../../prisma/client';
44

55
export async function fetchProfileGroupData(profileId: number) {
66
const data = await prisma.$queryRaw<ProfileGroupQueryResult[]>`
7-
SELECT pg.profile_id as profileId
7+
SELECT pg.profile_id as "profileId"
88
FROM profile_group AS pg
99
WHERE pg.lft BETWEEN (
1010
SELECT root.lft

0 commit comments

Comments
 (0)