fix api build issues
This commit is contained in:
@@ -3,7 +3,7 @@ import { IsString, IsOptional } from 'class-validator';
|
||||
|
||||
export class UploadMediaInputDTO {
|
||||
@ApiProperty({ type: 'string', format: 'binary' })
|
||||
file: any;
|
||||
file: unknown;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
|
||||
@@ -11,7 +11,9 @@ export class UpdateAvatarPresenter implements UseCaseOutputPort<UpdateAvatarResu
|
||||
this.model = null;
|
||||
}
|
||||
|
||||
present(_result: UpdateAvatarResult): void {
|
||||
present(result: UpdateAvatarResult): void {
|
||||
void result;
|
||||
|
||||
this.model = {
|
||||
success: true,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user