Add tags to live logger

This commit is contained in:
Chocobozzz
2021-05-28 13:05:59 +02:00
parent a1eda903a4
commit 9e2e51dc0b
2 changed files with 58 additions and 46 deletions

View File

@@ -1004,9 +1004,9 @@ export class VideoModel extends Model<Partial<AttributesOnly<VideoModel>>> {
})
}
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<Partial<AttributesOnly<VideoModel>>> {
const result = await VideoModel.findAll(options)
return result.map(v => v.id)
return result.map(v => v.uuid)
}
static listUserVideosForApi (options: {