mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Migrate to webdriverio
This commit is contained in:
parent
2a4c9669d2
commit
3419e0e1fe
25 changed files with 2399 additions and 1173 deletions
|
@ -197,9 +197,6 @@ async function addVideo (options: {
|
|||
}, sequelizeOptions)
|
||||
}
|
||||
|
||||
// Channel has a new content, set as updated
|
||||
await videoCreated.VideoChannel.setAsUpdated(t)
|
||||
|
||||
await autoBlacklistVideoIfNeeded({
|
||||
video,
|
||||
user,
|
||||
|
@ -214,6 +211,9 @@ async function addVideo (options: {
|
|||
return { videoCreated }
|
||||
})
|
||||
|
||||
// Channel has a new content, set as updated
|
||||
await videoCreated.VideoChannel.setAsUpdated()
|
||||
|
||||
createTorrentFederate(video, videoFile)
|
||||
.then(() => {
|
||||
if (video.state === VideoState.TO_MOVE_TO_EXTERNAL_STORAGE) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue