Add avatar to prune script

This commit is contained in:
Chocobozzz 2019-08-09 15:04:36 +02:00
parent 5bb2eb5660
commit e2600d8b26
No known key found for this signature in database
GPG key ID: 583A612D890159BE
11 changed files with 326 additions and 47 deletions

View file

@ -29,7 +29,7 @@ run()
async function run () {
await initDatabaseModels(true)
const video = await VideoModel.loadByUUIDWithFile(program['video'])
const video = await VideoModel.loadByUUID(program['video'])
if (!video) throw new Error('Video not found.')
const dataInput: VideoTranscodingPayload = program.resolution !== undefined