Add userReport api
This commit is contained in:
1 parent
de509e7ccc
commit
4df7d6a2a1
7 files changed
+189
-2
No files matched your search
@@ -92,6 +92,11 @@ export async function deleteWebsite(
|
||||
websiteId,
|
||||
},
|
||||
}),
|
||||
client.userReport.deleteMany({
|
||||
where: {
|
||||
websiteId,
|
||||
},
|
||||
}),
|
||||
cloudMode
|
||||
? prisma.client.website.update({
|
||||
data: {
|
||||
|
||||
Reference in new issue
Block a user