🐛do not generate thumbnails tmp until it will be fixed
This commit is contained in:
@@ -403,7 +403,7 @@ export class DocumentsService {
|
||||
company_id: driveItem.company_id,
|
||||
},
|
||||
context,
|
||||
{ waitForThumbnail: true },
|
||||
{ waitForThumbnail: false },
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -475,7 +475,7 @@ export const getFileMetadata = async (
|
||||
company_id: context.company.id,
|
||||
},
|
||||
context,
|
||||
{ ...(context.user?.server_request ? {} : { waitForThumbnail: true }) },
|
||||
{ ...(context.user?.server_request ? {} : { waitForThumbnail: false }) },
|
||||
);
|
||||
|
||||
if (!file) {
|
||||
|
||||
@@ -63,8 +63,8 @@ export class DocumentsController {
|
||||
chunkNumber: parseInt(q.resumableChunkNumber || q.chunk_number) || 1,
|
||||
filename: q.resumableFilename || q.filename || file?.filename || undefined,
|
||||
type: q.resumableType || q.type || file?.mimetype || undefined,
|
||||
waitForThumbnail: !!q.thumbnail_sync,
|
||||
ignoreThumbnails: false,
|
||||
waitForThumbnail: false,
|
||||
ignoreThumbnails: true,
|
||||
};
|
||||
|
||||
createdFile = await globalResolver.services.files.save(null, file, options, context);
|
||||
|
||||
Reference in New Issue
Block a user