fix: wrong field used
This commit is contained in:
parent
cb0ac4f0be
commit
d15273de1b
3 changed files with 3 additions and 3 deletions
|
|
@ -535,7 +535,7 @@ export class BranchController extends Controller {
|
|||
subDistrict: true,
|
||||
createdBy: true,
|
||||
updatedBy: true,
|
||||
user: { where: { id: req.user.sub } },
|
||||
user: { where: { userId: req.user.sub } },
|
||||
},
|
||||
where: { id: branchId },
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue