diff --git a/src/file/file.controller.ts b/src/file/file.controller.ts index 231d06c..47ae6cc 100644 --- a/src/file/file.controller.ts +++ b/src/file/file.controller.ts @@ -37,8 +37,7 @@ export class FileController { @Post('upload.txt') @UseInterceptors(FileInterceptor('file')) @ApiConsumes('multipart/form-data') - @Render('file/upload-result') - async handleFileSilentUpload(@UploadedFile() file: Express.Multer.File): Promise { + async handleFileSilentUpload(@UploadedFile() file: Express.Multer.File): Promise { const upload = await this.fileService.handleFileUpload(file); return `https://api.us.dev/file/${upload.key}` }