Check download auth

This commit is contained in:
Samuel Lorch 2024-06-23 03:04:06 +02:00
parent 896ab0edc3
commit f232e08945
4 changed files with 40 additions and 6 deletions

View file

@ -46,7 +46,7 @@ func RunTranscode(conf config.Config, t *types.Task, data types.TranscodeData) {
}
}()
err := downloadFile(ctx, l, conf.Worker.Address, src_path, t)
err := downloadFile(ctx, l, conf, src_path, t)
if err != nil {
l.ErrorContext(ctx, "Source File Download Failed", "err", err)
return