We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2bc1e2 commit d6d00b2Copy full SHA for d6d00b2
Sources/AppleAPI/Client.swift
@@ -70,7 +70,7 @@ public class Client {
70
let authServiceKey: String?
71
}
72
73
- let response = try! JSONDecoder().decode(ServiceKeyResponse.self, from: data)
+ let response = try JSONDecoder().decode(ServiceKeyResponse.self, from: data)
74
serviceKey = response.authServiceKey
75
76
return self.loadHashcash(accountName: accountName, serviceKey: serviceKey).map { (serviceKey, $0) }
0 commit comments