mimetype
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user