fix(getBinary): now returns correct response

This commit is contained in:
2018-06-14 21:11:07 +02:00
parent 85a647cd10
commit a6920b18d4
3 changed files with 4 additions and 2 deletions

View File

@ -27,6 +27,7 @@ export let getBinary = async (domainArg: string, optionsArg: interfaces.ISmartRe
const buffer = Buffer.concat(data);
response.body = buffer.toString('base64');
});
return response;
}
export let post = async (domainArg: string, optionsArg: interfaces.ISmartRequestOptions = {}) => {