@Post(":id") @UseGuards(JwtAuthGuard) @UseInterceptors(FilesInterceptor("files")) async updateLand( @Param("id") land: string, @Res() res: Response, @Body() body: LandUpdateType, //@UploadedFiles() files: Express.Multer.File[], //@Req() req: Request, ) { const { name, description, tokenId, buildingModelId } = body; console.log( "Receiving data", name, description, tokenId, buildingModelId, ); // this is loging on localhost and railway logs const formData = new FormData(); formData.append("Name", name); formData.append("Description", description); formData.append("TokenID", tokenId); formData.append("BuildingModelID", buildingModelId); const { data, status } = await axios.post( <My other endpoint>, formData, ); if (status === HttpStatus.OK) { res.status(status).end(); } else { res.status(status).json(data); } } catch (error) { console.log(error); res.status(HttpStatus.BAD_REQUEST).send(error); } }