Skip to content

Commit

Permalink
fix: bypass the s3
Browse files Browse the repository at this point in the history
  • Loading branch information
dadiorchen committed May 31, 2022
1 parent 709c04f commit 1dad22d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/services/S3Service.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
const s3 = require('../infra/S3/s3');

const uploadCsv = async (csv, Key) => {
if (true) {
return {
Location: "http://test"
}
}
const params = {
Bucket: process.env.S3_BUCKET,
ContentType: 'text/csv',
Expand Down

0 comments on commit 1dad22d

Please sign in to comment.