1
0
Fork 0
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:
Chocobozzz 2021-08-30 16:24:25 +02:00
parent 2a4c9669d2
commit 3419e0e1fe
No known key found for this signature in database
GPG key ID: 583A612D890159BE
25 changed files with 2399 additions and 1173 deletions

View file

@ -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) {