diff --git a/apps/server/src/ee b/apps/server/src/ee index 5e9a9b4bc..ae2f7eb41 160000 --- a/apps/server/src/ee +++ b/apps/server/src/ee @@ -1 +1 @@ -Subproject commit 5e9a9b4bcb509211416951066b8701643da240a3 +Subproject commit ae2f7eb41107c4c68d6850f3627ce8e9d9777206 diff --git a/apps/server/src/integrations/import/services/import-attachment.service.ts b/apps/server/src/integrations/import/services/import-attachment.service.ts index 9100149be..160487700 100644 --- a/apps/server/src/integrations/import/services/import-attachment.service.ts +++ b/apps/server/src/integrations/import/services/import-attachment.service.ts @@ -452,16 +452,7 @@ export class ImportAttachmentService { const audioExtensions = new Set(['.mp3', '.wav', '.ogg', '.m4a', '.webm', '.flac', '.aac']); - if (ext === '.pdf') { - const $pdf = $('
') - .attr('data-type', 'pdf') - .attr('src', apiFilePath) - .attr('data-attachment-id', attachmentId) - .attr('width', '800') - .attr('height', '600'); - $a.replaceWith($pdf); - unwrapFromParagraph($, $pdf); - } else if (ext === '.mp4') { + if (ext === '.mp4') { const $video = $('