From 1abda1f8fbcc15570209ae9b8e6f080eb008ccfa Mon Sep 17 00:00:00 2001 From: Okechi Onyeje Date: Sat, 12 Jan 2019 19:09:52 -0500 Subject: [PATCH] T-954157790482076: Remove checksum validation --- src/ups/utils/utils.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ups/utils/utils.js b/src/ups/utils/utils.js index ef2e512..eae19d1 100644 --- a/src/ups/utils/utils.js +++ b/src/ups/utils/utils.js @@ -86,9 +86,7 @@ async function uploadImage(imageData, path, bucketName) { const file = bucket.file(`${path}.${appConfig.imageFormat[imageData.metaData.contentType]}`); const imageBuffer = Buffer.from(imageData.base64Data, 'base64'); - await file.save(imageBuffer, { - validation: 'md5', - }); + await file.save(imageBuffer); const fileMetaData = await file.getMetadata();