mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-20 08:02:16 +00:00
Update Sora/Views/MediaViews/MediaExtraction.swift
Co-authored-by: codefactor-io[bot] <47775046+codefactor-io[bot]@users.noreply.github.com>
This commit is contained in:
parent
f10442fec4
commit
c289601168
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ extension MediaView {
|
|||
|
||||
if pageRedirects {
|
||||
dispatchGroup.enter() // Start tracking the redirect task
|
||||
URLSession.custom.dataTask(with: url) { data, response, error in
|
||||
URLSession.custom.dataTask(with: url) { data, _, error in
|
||||
guard let data = data, error == nil else {
|
||||
dispatchGroup.leave() // End tracking if there's an error
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue