mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-20 11:41:14 +10:00
feat: partial user platform support + statusMessage -> message
This commit is contained in:
@ -9,6 +9,6 @@ export default defineEventHandler(async (h3) => {
|
||||
|
||||
const company = await prisma.company.deleteMany({ where: { id } });
|
||||
if (company.count == 0)
|
||||
throw createError({ statusCode: 404, statusMessage: "Company not found" });
|
||||
throw createError({ statusCode: 404, message: "Company not found" });
|
||||
return;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user