hotfix console.log

This commit is contained in:
jackkav 2023-07-20 01:43:24 +02:00
parent 00cd22c67b
commit 64ca287c31

View File

@ -160,7 +160,6 @@ export const curlRequest = (options: CurlRequestOptions) => new Promise<CurlRequ
// set up response writer // set up response writer
let responseBodyBytes = 0; let responseBodyBytes = 0;
curl.setOpt(Curl.option.WRITEFUNCTION, buffer => { curl.setOpt(Curl.option.WRITEFUNCTION, buffer => {
console.log('write', buffer.length);
responseBodyBytes += buffer.length; responseBodyBytes += buffer.length;
responseBodyWriteStream.write(buffer); responseBodyWriteStream.write(buffer);
return buffer.length; return buffer.length;