Skip to content

Commit

Permalink
Fix corrupted export functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
amazon-meaisiah committed Mar 20, 2020
1 parent e71ba86 commit 80c5af2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lambdas/backend/routes/catalog/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

0 comments on commit 80c5af2

Please sign in to comment.