From 87e1c555532fb4ffe88a45164a2e33316e84236d Mon Sep 17 00:00:00 2001 From: Spacelord Date: Tue, 27 Jun 2023 23:43:23 +0200 Subject: [PATCH] Added comment --- src/routes/api/v1/storageUnits.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } } }