diff --git a/src/routes/api/v1/storageUnits.ts b/src/routes/api/v1/storageUnits.ts index ce9b713..5003395 100644 --- a/src/routes/api/v1/storageUnits.ts +++ b/src/routes/api/v1/storageUnits.ts @@ -188,7 +188,7 @@ async function patch(req: Request, res: Response) { name: req.body.name, contactInfo: { connect: { - id: parseInt(req.body.locationId) + id: parseInt(req.body.locationId) // TODO: Rename to contactInfoId } } }