From d93f0ea5362de2a0ca5ea6d608097805dcb05370 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Thu, 17 Oct 2024 14:20:19 +0700 Subject: [PATCH] add profile id --- src/controllers/AppointController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/AppointController.ts b/src/controllers/AppointController.ts index b009f60..27aaf1a 100644 --- a/src/controllers/AppointController.ts +++ b/src/controllers/AppointController.ts @@ -101,7 +101,7 @@ export class AppointController extends Controller { await new permission().PermissionGet(request, "SYS_PROBATION"); const appoint = await this.appointRepository.findOne({ - select: ["id", "topic", "status"], + select: ["id", "topic", "status", "profileId"], where: { id }, relations: ["directors"], });