mirror of
https://github.com/detleph/server.git
synced 2026-09-04 08:36:06 +02:00
patched issues found during testing
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user