no message

This commit is contained in:
Kittapath 2024-05-14 16:20:36 +07:00
parent 566b4db692
commit b8cbbb3a6f
2 changed files with 3 additions and 3 deletions

View file

@ -48,7 +48,7 @@ export class ProfileAvatarController extends Controller {
profile.avatar = avatar; profile.avatar = avatar;
await this.profileRepository.save(profile); await this.profileRepository.save(profile);
return new HttpSuccess(); return new HttpSuccess(avatar);
} }
@Delete("{avatarId}") @Delete("{avatarId}")

View file

@ -39,12 +39,12 @@ export class ProfileAvatar extends EntityBase {
export class CreateProfileAvatar { export class CreateProfileAvatar {
profileId: string; profileId: string;
avatar: string | null; // avatar: string | null;
} }
export class CreateProfileEmployeeAvatar { export class CreateProfileEmployeeAvatar {
profileEmployeeId: string; profileEmployeeId: string;
avatar: string | null; // avatar: string | null;
} }
export type UpdateProfileAvatar = { export type UpdateProfileAvatar = {