diff --git a/Sources/AppleAPI/Client.swift b/Sources/AppleAPI/Client.swift index eac9f89..b9ba89a 100644 --- a/Sources/AppleAPI/Client.swift +++ b/Sources/AppleAPI/Client.swift @@ -70,7 +70,7 @@ public class Client { let authServiceKey: String? } - let response = try! JSONDecoder().decode(ServiceKeyResponse.self, from: data) + let response = try JSONDecoder().decode(ServiceKeyResponse.self, from: data) serviceKey = response.authServiceKey return self.loadHashcash(accountName: accountName, serviceKey: serviceKey).map { (serviceKey, $0) }