aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
Diffstat (limited to 'server/models')
-rw-r--r--server/models/video/video.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index 1e68b380c..0f18d9f0c 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -1561,6 +1561,12 @@ export class VideoModel extends Model<VideoModel> {
1561 (now - updatedAtTime) > ACTIVITY_PUB.VIDEO_REFRESH_INTERVAL 1561 (now - updatedAtTime) > ACTIVITY_PUB.VIDEO_REFRESH_INTERVAL
1562 } 1562 }
1563 1563
1564 setAsRefreshed () {
1565 this.changed('updatedAt', true)
1566
1567 return this.save()
1568 }
1569
1564 getBaseUrls () { 1570 getBaseUrls () {
1565 let baseUrlHttp 1571 let baseUrlHttp
1566 let baseUrlWs 1572 let baseUrlWs