- Object.assign(videoAttributes, {
- fixture: program[ 'file' ],
- thumbnailfile: program[ 'thumbnail' ],
- previewfile: program[ 'preview' ]
- })
+ const attributes = {
+ ...baseAttributes,
+
+ fixture: options.file,
+ thumbnailfile: options.thumbnail,
+ previewfile: options.preview
+ }