Add FIX ME

This commit is contained in:
James Brunton 2025-08-18 10:23:02 +01:00
parent f03bf6258b
commit c056ac859e

View File

@ -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) {