From 9e2e51dc0bee5dc065a61c927e787ae021e8aa73 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 28 May 2021 13:05:59 +0200 Subject: Add tags to live logger --- server/models/video/video.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/models') 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>> { }) } - static async listPublishedLiveIds () { + static async listPublishedLiveUUIDs () { const options = { - attributes: [ 'id' ], + attributes: [ 'uuid' ], where: { isLive: true, remote: false, @@ -1016,7 +1016,7 @@ export class VideoModel extends Model>> { const result = await VideoModel.findAll(options) - return result.map(v => v.id) + return result.map(v => v.uuid) } static listUserVideosForApi (options: { -- cgit v1.2.3