Updates for cloud mode.
This commit is contained in:
1 parent
dc1736458b
commit
f40e1b44f3
51 files changed
+251
-173
No files matched your search
@@ -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 },
|
||||
|
||||
Reference in new issue
Block a user