aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-05-28 13:05:59 +0200
committerChocobozzz <me@florianbigard.com>2021-05-28 13:05:59 +0200
commit9e2e51dc0bee5dc065a61c927e787ae021e8aa73 (patch)
treeb89efaee3d00083a5d8df8ac2295d936594e07ec /server/models
parenta1eda903a497857017495f37a1fd3593ba7ab23c (diff)
downloadPeerTube-9e2e51dc0bee5dc065a61c927e787ae021e8aa73.tar.gz
PeerTube-9e2e51dc0bee5dc065a61c927e787ae021e8aa73.tar.zst
PeerTube-9e2e51dc0bee5dc065a61c927e787ae021e8aa73.zip
Add tags to live logger
Diffstat (limited to 'server/models')
-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: {