aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r--server/models/video/video.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index ba4cf541b..003741da0 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -1754,8 +1754,8 @@ export class VideoModel extends Model<Partial<AttributesOnly<VideoModel>>> {
1754 return this.hasPrivacyForFederation() === false && isPrivacyForFederation(newPrivacy) === true 1754 return this.hasPrivacyForFederation() === false && isPrivacyForFederation(newPrivacy) === true
1755 } 1755 }
1756 1756
1757 setAsRefreshed () { 1757 setAsRefreshed (transaction?: Transaction) {
1758 return setAsUpdated('video', this.id) 1758 return setAsUpdated('video', this.id, transaction)
1759 } 1759 }
1760 1760
1761 requiresAuth () { 1761 requiresAuth () {