no message
This commit is contained in:
parent
566b4db692
commit
b8cbbb3a6f
2 changed files with 3 additions and 3 deletions
|
|
@ -48,7 +48,7 @@ export class ProfileAvatarController extends Controller {
|
|||
profile.avatar = avatar;
|
||||
await this.profileRepository.save(profile);
|
||||
|
||||
return new HttpSuccess();
|
||||
return new HttpSuccess(avatar);
|
||||
}
|
||||
|
||||
@Delete("{avatarId}")
|
||||
|
|
|
|||
|
|
@ -39,12 +39,12 @@ export class ProfileAvatar extends EntityBase {
|
|||
|
||||
export class CreateProfileAvatar {
|
||||
profileId: string;
|
||||
avatar: string | null;
|
||||
// avatar: string | null;
|
||||
}
|
||||
|
||||
export class CreateProfileEmployeeAvatar {
|
||||
profileEmployeeId: string;
|
||||
avatar: string | null;
|
||||
// avatar: string | null;
|
||||
}
|
||||
|
||||
export type UpdateProfileAvatar = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue