Skip to content

Commit

Permalink
Update cases.ts (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislaw-zakrzewski committed Mar 8, 2024
1 parent c9b4bf7 commit cf1a4e5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions verification/curator-service/api/src/controllers/cases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,16 +199,15 @@ export default class CasesController {
const month = ('0' + (dateObj.getMonth() + 1)).slice(-2);
const year = dateObj.getFullYear();

const filename = `gh_${year}-${month}-${day}.tar`;
const filename = `gh_${year}-${month}-${day}.csv.gz`;

const params = {
Bucket: this.completeDataBucket,
Key: 'latest/latestdata-csv.tar',
Key: 'csv/full.csv.gz',
Expires: 5 * 60,
ResponseContentDisposition:
'attachment; filename ="' + filename + '"',
};

const user = req.user as IUser;

try {
Expand Down

0 comments on commit cf1a4e5

Please sign in to comment.