edit file extension

This commit is contained in:
user 2025-03-17 13:01:43 +03:00
parent 2351ee51eb
commit 7d8096be4c
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ export const ViewContentPage = () => {
try {
const fileUrl = content?.data?.display_options?.content_url;
const fileName = content?.data?.display_options?.metadata?.name || 'content';
const fileFormat = content?.data?.content_type?.contentFormat || '';
const fileFormat = content?.data?.content_ext || '.raw';
await WebApp.downloadFile({
url: fileUrl,
file_name: fileName + fileFormat,