Skip to content

Commit

Permalink
export to csv
Browse files Browse the repository at this point in the history
  • Loading branch information
salvobonsma committed Aug 25, 2024
1 parent 7a3b142 commit 932ccfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/export/csv/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export async function GET(request: NextRequest) {
await archive.finalize();

const headers = new Headers();
headers.append("Content-Disposition", 'attachment; filename="test.zip"');
headers.append("Content-Disposition", `attachment; filename="${event.key}-pre-scouting-data.zip"`);
headers.append("Content-Type", "application/zip");

const webStream = new ReadableStream({
Expand Down

0 comments on commit 932ccfb

Please sign in to comment.