From fae2ee80b1f9c495e8b6e1b434c9d61a647ce116 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Mon, 18 Mar 2024 20:05:39 +0700 Subject: [PATCH] no message --- src/controllers/PositionController.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/PositionController.ts b/src/controllers/PositionController.ts index 41b3456c..c3c13945 100644 --- a/src/controllers/PositionController.ts +++ b/src/controllers/PositionController.ts @@ -229,6 +229,7 @@ export class PositionController extends Controller { throw new HttpError(HttpStatusCode.NOT_FOUND, "ข้อมูล Row นี้มีอยู่ในระบบแล้ว"); } + posDict.posExecutiveId = posExecutive == null ? null : posExecutive.id; posDict.createdUserId = request.user.sub; posDict.createdFullName = request.user.name; posDict.lastUpdateUserId = request.user.sub;