Skip to content

Commit f45cb68

Browse files
SirkoSjdalrymple
authored andcommitted
fix: added file extension for dummy file name in project import (#561)
According to the workaround mentioned in https://gitlab.com/gitlab-org/gitlab-foss/issues/50944#note_101737263
1 parent c5975aa commit f45cb68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/services/ProjectImportExport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class ProjectImportExport extends BaseService {
2323
const form = new FormData();
2424

2525
const defaultMetadata: UploadMetadata = {
26-
filename: Date.now().toString(),
26+
filename: `${Date.now().toString()}.tar.gz`,
2727
contentType: 'application/octet-stream',
2828
};
2929

0 commit comments

Comments
 (0)