PR updates

PR updates

fix failing test
This commit is contained in:
NHI TRAN
2021-02-22 09:59:12 -05:00
parent fe63fdb9c6
commit ac67aab5dd
15 changed files with 27 additions and 9744 deletions
@@ -240,7 +240,7 @@ export class AwsS3Publish implements PublisherBase {
res.setHeader(headerKey, headerValue);
}
res.json(await streamToBuffer(stream));
res.send(await streamToBuffer(stream));
} catch (err) {
this.logger.warn(err.message);
res.status(404).json(err.message);
@@ -253,7 +253,7 @@ export class AzureBlobStoragePublish implements PublisherBase {
)) {
res.setHeader(headerKey, headerValue);
}
res.json(fileContent);
res.send(fileContent);
});
} catch (e) {
this.logger.error(e.message);