let authentication = AccessTokenAuthentication(access_token: GITHUB_TOKEN)
RepositoriesAPI(authentication: authentication).repositories(user: "skywinder", type: .all) { (response, error) in
if response != nil {
print(response!)
} else {
print(error ?? "empty response")
}
sema.signal()
}
gets error:
typeMismatch(Swift.Array, Swift.DecodingError.Context(codingPath: [], debugDescription: "Expected to decode Array but found a dictionary instead.", underlyingError: nil))
gets error:
Line 37