From 7d8096be4cf311470ec4c902f2c6dd3087d60a04 Mon Sep 17 00:00:00 2001 From: user Date: Mon, 17 Mar 2025 13:01:43 +0300 Subject: [PATCH] edit file extension --- src/pages/view-content/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/view-content/index.tsx b/src/pages/view-content/index.tsx index cbc79ee..d232825 100644 --- a/src/pages/view-content/index.tsx +++ b/src/pages/view-content/index.tsx @@ -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,