RepositoriesAPI parse error
skywinder opened this issue · 0 comments
skywinder commented
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))
Line 37