mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-26 14:19:24 +00:00
Add FIX ME
This commit is contained in:
parent
f03bf6258b
commit
c056ac859e
@ -625,7 +625,7 @@ export function FileContextProvider({
|
|||||||
const fileId = getFileId(file);
|
const fileId = getFileId(file);
|
||||||
if (!fileId) {
|
if (!fileId) {
|
||||||
try {
|
try {
|
||||||
const thumbnail = await (thumbnailGenerationService as any).generateThumbnail(file);
|
const thumbnail = await (thumbnailGenerationService as any /* FIX ME */).generateThumbnail(file);
|
||||||
const storedFile = await fileStorage.storeFile(file, thumbnail);
|
const storedFile = await fileStorage.storeFile(file, thumbnail);
|
||||||
Object.defineProperty(file, 'id', { value: storedFile.id, writable: false });
|
Object.defineProperty(file, 'id', { value: storedFile.id, writable: false });
|
||||||
} catch (thumbnailError) {
|
} catch (thumbnailError) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user