diff --git a/src/models/drive-file.ts b/src/models/drive-file.ts index 57f40be6a9..47ef308a7e 100644 --- a/src/models/drive-file.ts +++ b/src/models/drive-file.ts @@ -135,8 +135,8 @@ export const pack = ( _target = Object.assign(_target, _file.metadata); - _target.url = getDriveFileUrl(file); - _target.thumbnailUrl = getDriveFileUrl(file, true); + _target.url = getDriveFileUrl(_file); + _target.thumbnailUrl = getDriveFileUrl(_file, true); _target.isRemote = _file.metadata.isRemote; if (_target.properties == null) _target.properties = {};