mirror of
https://github.com/spliit-app/spliit.git
synced 2026-03-05 12:16:13 +01:00
Fix export file name (Fix #54)
This commit is contained in:
@@ -33,7 +33,7 @@ export async function GET(
|
|||||||
return NextResponse.json(group, {
|
return NextResponse.json(group, {
|
||||||
headers: {
|
headers: {
|
||||||
'content-type': 'application/json',
|
'content-type': 'application/json',
|
||||||
'content-disposition': `attachment; filename="${group.name}.json"`,
|
'content-disposition': `attachment; filename="Spliit Export.json"`,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user