fix: Type ProfileAvatar string | null
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m20s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m20s
This commit is contained in:
parent
633ccd4906
commit
109caf7a0d
5 changed files with 12 additions and 20 deletions
|
|
@ -154,8 +154,8 @@ export class ProfileAvatarEmployeeTempController extends Controller {
|
|||
where: { id: _record.profileEmployeeId },
|
||||
});
|
||||
if (profile) {
|
||||
profile.avatar = "";
|
||||
profile.avatarName = "";
|
||||
profile.avatar = null;
|
||||
profile.avatarName = null;
|
||||
await this.profileRepository.save(profile, { data: req });
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue