From 3d361fd79fd4645d9f9c2d10a149c0ca76bc8629 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Wed, 8 Jan 2025 09:37:39 +0700 Subject: [PATCH] feat: include registered branch relation --- src/controllers/07-task-controller.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controllers/07-task-controller.ts b/src/controllers/07-task-controller.ts index dee4b7a..d50e089 100644 --- a/src/controllers/07-task-controller.ts +++ b/src/controllers/07-task-controller.ts @@ -125,6 +125,7 @@ export class TaskController extends Controller { userTask: true, taskList: true, institution: true, + registeredBranch: true, createdBy: true, }, }), @@ -735,6 +736,7 @@ export class UserTaskController extends Controller { userTask: { where: { userId: req.user.sub }, }, + registeredBranch: true, institution: true, createdBy: true, },