fix(core): update
This commit is contained in:
		
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| @@ -28,7 +28,7 @@ exports.getBinary = (domainArg, optionsArg = {}) => __awaiter(this, void 0, void | ||||
|         //so Buffer.concat() can make us a new Buffer | ||||
|         //of all of them together | ||||
|         const buffer = Buffer.concat(data); | ||||
|         response.body = buffer.toString('base64'); | ||||
|         response.body = buffer.toString('binary'); | ||||
|         done.resolve(); | ||||
|     }); | ||||
|     yield done.promise; | ||||
|   | ||||
| @@ -26,7 +26,7 @@ export let getBinary = async (domainArg: string, optionsArg: interfaces.ISmartRe | ||||
|       //so Buffer.concat() can make us a new Buffer | ||||
|       //of all of them together | ||||
|       const buffer = Buffer.concat(data); | ||||
|       response.body = buffer.toString('base64'); | ||||
|       response.body = buffer.toString('binary'); | ||||
|       done.resolve(); | ||||
|   }); | ||||
|   await done.promise; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user