mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Add tags to live logger
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user