Fix export file name (Fix #54)

This commit is contained in:
Sebastien Castiel
2024-01-22 13:05:18 -05:00
parent e32a12ce41
commit 1bd3f99d38

View File

@@ -33,7 +33,7 @@ export async function GET(
return NextResponse.json(group, {
headers: {
'content-type': 'application/json',
'content-disposition': `attachment; filename="${group.name}.json"`,
'content-disposition': `attachment; filename="Spliit Export.json"`,
},
})
}