mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-19 11:11:13 +10:00
Merge branch 'develop' into redistributable
This commit is contained in:
@ -15,7 +15,7 @@ export default defineEventHandler(async (h3) => {
|
||||
if (userId == "system")
|
||||
throw createError({
|
||||
statusCode: 400,
|
||||
statusMessage: "Cannot delete system user.",
|
||||
statusMessage: "Cannot fetch system user.",
|
||||
});
|
||||
|
||||
const user = await prisma.user.findUnique({ where: { id: userId } });
|
||||
|
||||
Reference in New Issue
Block a user