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