Updates for cloud mode.
Some checks failed
Node.js CI / build (postgresql, 18.18) (push) Has been cancelled

This commit is contained in:
Mike Cao 2025-09-04 20:27:42 -07:00
parent dc1736458b
commit f40e1b44f3
51 changed files with 251 additions and 173 deletions

View file

@ -122,7 +122,7 @@ export async function deleteUser(
]
> {
const { client, transaction } = prisma;
const cloudMode = process.env.CLOUD_MODE;
const cloudMode = !!process.env.CLOUD_URL;
const websites = await client.website.findMany({
where: { userId },