Redundancy federation typo

This commit is contained in:
Chocobozzz 2025-02-13 15:51:03 +01:00
parent eaf6fccbbb
commit d0acc7e35f
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -24,7 +24,7 @@ export {
function createCacheFile (cacheFileObject: CacheFileObject, video: MVideoWithAllFiles, byActor: MActorId, t: Transaction) {
const attributes = cacheFileActivityObjectToDBAttributes(cacheFileObject, video, byActor)
if (attributes) return
if (!attributes) return
return VideoRedundancyModel.create(attributes, { transaction: t })
}