aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/video')
-rw-r--r--server/models/video/video.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index 5af907533..8f561116b 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -1004,9 +1004,9 @@ export class VideoModel extends Model<Partial<AttributesOnly<VideoModel>>> {
1004 }) 1004 })
1005 } 1005 }
1006 1006
1007 static async listPublishedLiveIds () { 1007 static async listPublishedLiveUUIDs () {
1008 const options = { 1008 const options = {
1009 attributes: [ 'id' ], 1009 attributes: [ 'uuid' ],
1010 where: { 1010 where: {
1011 isLive: true, 1011 isLive: true,
1012 remote: false, 1012 remote: false,
@@ -1016,7 +1016,7 @@ export class VideoModel extends Model<Partial<AttributesOnly<VideoModel>>> {
1016 1016
1017 const result = await VideoModel.findAll(options) 1017 const result = await VideoModel.findAll(options)
1018 1018
1019 return result.map(v => v.id) 1019 return result.map(v => v.uuid)
1020 } 1020 }
1021 1021
1022 static listUserVideosForApi (options: { 1022 static listUserVideosForApi (options: {