refactor!: change typo field and reset migration
This commit is contained in:
parent
d0d59cea0d
commit
0e2cc3cb21
58 changed files with 327 additions and 784 deletions
|
|
@ -298,7 +298,7 @@ export class UserController extends Controller {
|
|||
district: { connect: districtId ? { id: districtId } : undefined },
|
||||
subDistrict: { connect: subDistrictId ? { id: subDistrictId } : undefined },
|
||||
createdBy: req.user.name,
|
||||
updateBy: req.user.name,
|
||||
updatedBy: req.user.name,
|
||||
},
|
||||
});
|
||||
|
||||
|
|
@ -438,7 +438,7 @@ export class UserController extends Controller {
|
|||
connect: subDistrictId ? { id: subDistrictId } : undefined,
|
||||
disconnect: subDistrictId === null || undefined,
|
||||
},
|
||||
updateBy: req.user.name,
|
||||
updatedBy: req.user.name,
|
||||
},
|
||||
where: { id: userId },
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue