Method typo
This commit is contained in:
parent
d4a09f9ce2
commit
5b8da4e051
|
@ -209,7 +209,7 @@ async function replaceLiveByReplay (options: {
|
|||
liveSession.replayVideoId = videoWithFiles.id
|
||||
await liveSession.save()
|
||||
|
||||
await VideoFileModel.removeHLSFilesOfVideoId(hlsPlaylist.id)
|
||||
await VideoFileModel.removeHLSFilesOfStreamingPlaylistId(hlsPlaylist.id)
|
||||
|
||||
// Reset playlist
|
||||
hlsPlaylist.VideoFiles = []
|
||||
|
|
|
@ -479,7 +479,7 @@ export class VideoFileModel extends SequelizeModel<VideoFileModel> {
|
|||
return VideoFileModel.findOne({ where, transaction: options.transaction })
|
||||
}
|
||||
|
||||
static removeHLSFilesOfVideoId (videoStreamingPlaylistId: number) {
|
||||
static removeHLSFilesOfStreamingPlaylistId (videoStreamingPlaylistId: number) {
|
||||
const options = {
|
||||
where: { videoStreamingPlaylistId }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue