feat: add headoffice as relation
This commit is contained in:
parent
1f47882e19
commit
7fa99fab8f
2 changed files with 17 additions and 0 deletions
|
|
@ -244,6 +244,13 @@ export class UserBranchController extends Controller {
|
|||
province: true,
|
||||
district: true,
|
||||
subDistrict: true,
|
||||
headOffice: {
|
||||
include: {
|
||||
province: true,
|
||||
district: true,
|
||||
subDistrict: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue