This commit is contained in:
2025-11-22 14:43:05 +01:00
parent 5498cf4342
commit 530218a4b8
9 changed files with 38 additions and 40 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ type DocumentLike = {
type DocumentLink = {
url?: string;
contentType?: string | null;
mimeType?: string | null;
filename?: string | null;
expiresAt?: number;
};
@@ -124,7 +124,7 @@ const useDocumentPreview = ({
const entry: DocumentLink = {
url: downloadUrl,
contentType: docResponse?.content_type || null,
mimeType: docResponse?.mime_type || null,
filename: docResponse?.filename,
expiresAt: download?.expires_at,
};