function checkImagesCustom(snapshots) {
        return _.map(snapshots, snapshot => _.assign(snapshot, {
          type: (_.find(images, { id: snapshot.id, visibility: 'private' }) ? 'image' : '') + snapshot.type,
        }));
      }
// transform snapshot type > snapshot is an image custom if this present in image as private
transform snapshot type > snapshot is an image custom if this present in image as private
transform snapshot type > snapshot is an image custom if this present in image as private
function checkImagesCustom(snapshots) {
        return _.map(snapshots, snapshot => _.assign(snapshot, {
          type: (_.find(images, { id: snapshot.id, visibility: 'private' }) ? 'image' : '') + snapshot.type,
        }));
      }
function checkImagesCustom ( snapshots ) { return _ . map ( snapshots , snapshot => _ . assign ( snapshot , { type : ( _ . find ( images , { id : snapshot . id , visibility : 'private' } ) ? 'image' : '' ) + snapshot . type , } ) ) ; }
transform snapshot type > snapshot is an image custom if this present in image as private
transform snapshot type > snapshot is an image custom if this present in image as private