fix:avatar:string

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-01-30 17:06:23 +07:00
parent 109caf7a0d
commit cd68478945
5 changed files with 10 additions and 10 deletions

View file

@ -164,8 +164,8 @@ export class ProfileAvatarController extends Controller {
where: { id: _record.profileId },
});
if (profile) {
profile.avatar = null;
profile.avatarName = null;
profile.avatar = "";
profile.avatarName = "";
await this.profileRepository.save(profile, { data: req });
}
}