when I am making an API request and trying to store the file from the response, it's giving me an error
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of PassThrough
const fetchResp = await fetch(
`rest-api-url`,
{ method: "GET", headers: headers }
);
fs.writeFile("sample.mp4", fetchResp.body, (err) => {
console.log(err);
});