Add userReport api
This commit is contained in:
1 parent
de509e7ccc
commit
4df7d6a2a1
7 files changed
+189
-2
No files matched your search
@@ -210,6 +210,20 @@ export async function deleteUser(
|
||||
},
|
||||
},
|
||||
}),
|
||||
client.userReport.deleteMany({
|
||||
where: {
|
||||
OR: [
|
||||
{
|
||||
websiteId: {
|
||||
in: websiteIds,
|
||||
},
|
||||
},
|
||||
{
|
||||
userId,
|
||||
},
|
||||
],
|
||||
},
|
||||
}),
|
||||
cloudMode
|
||||
? client.website.updateMany({
|
||||
data: {
|
||||
|
||||
Reference in new issue
Block a user