fix filename

This commit is contained in:
user 2025-03-17 14:03:25 +03:00
parent 7d8096be4c
commit 46f3b22ec9
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ export const ViewContentPage = () => {
const fileFormat = content?.data?.content_ext || '.raw';
await WebApp.downloadFile({
url: fileUrl,
file_name: fileName + fileFormat,
file_name: fileName + '.' + fileFormat,
});
} catch (error) {
console.error('Error downloading content:', error);