forgot this shared task

This commit is contained in:
cranci1 2025-03-12 14:29:53 +01:00
parent ae80a9aa06
commit c03ac54a93

View file

@ -36,7 +36,7 @@ class DownloadManager {
let fileExtension = url.pathExtension.lowercased()
if fileExtension == "mp4" {
let task = URLSession.shared.downloadTask(with: url) { tempLocalURL, response, error in
let task = URLSession.custom.downloadTask(with: url) { tempLocalURL, response, error in
if let tempLocalURL = tempLocalURL {
do {
try FileManager.default.moveItem(at: tempLocalURL, to: outputFileURL)