This commit is contained in:
Florian Gabach
2017-06-27 09:21:16 +02:00
parent 242b6ae368
commit 43b76c064c
7 changed files with 30 additions and 8 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ public class LicenceFile: NSObject {
///
/// - Parameter completion: end of download handler
func downloadLicenceDetail(config: OpenSourceControllerConfig,
completion: @escaping (Void) -> Void) {
completion: @escaping () -> Void) {
if let url = URL(string: self.url) {
let task = URLSession.shared.dataTask(with: url) { (data, _, _) in
if let data = data,