MVideoFullLight,
MVideoId,
MVideoImmutable,
- MVideoThumbnail,
- MVideoWithRights
+ MVideoThumbnail
} from '@server/types/models'
import { Hooks } from '../plugins/hooks'
)
}
- if (fetchType === 'all') return VideoModel.loadAndPopulateAccountAndServerAndTags(id, undefined, userId)
+ if (fetchType === 'all') return VideoModel.loadFull(id, undefined, userId)
if (fetchType === 'only-immutable-attributes') return VideoModel.loadImmutableAttributes(id)