patched issues found during testing

This commit is contained in:
Laurin
2022-06-03 19:57:43 +02:00
parent 569695245f
commit 0f0da062c6
12 changed files with 74 additions and 36 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ export const deleteOrganisation = async (req: Request<DeleteOrganisationQueryPar
const { pid } = req.params;
try {
prisma.organisation.delete({ where: { pid } });
await prisma.organisation.delete({ where: { pid } });
res.status(204).end();
} catch (e) {