From 80c5af29ab93c55931b17acffba3a91e1f95c150 Mon Sep 17 00:00:00 2001 From: amazon-meaisiah Date: Thu, 19 Mar 2020 19:53:45 -0700 Subject: [PATCH] Fix corrupted export functionality --- lambdas/backend/routes/catalog/export.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lambdas/backend/routes/catalog/export.js b/lambdas/backend/routes/catalog/export.js index 54af78719..4a238d6b6 100644 --- a/lambdas/backend/routes/catalog/export.js +++ b/lambdas/backend/routes/catalog/export.js @@ -32,9 +32,6 @@ exports.get = async (req, res) => { parameters }).promise()).body - const datauri = new Datauri() - datauri.format('.zip', resultsBuffer) - - res.send(datauri.content) + res.send(resultsBuffer) } }