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 30eb794 commit 5746aa0Copy full SHA for 5746aa0
Sources/TVShowRecommender.swift
@@ -49,7 +49,7 @@ public struct TVShowRecommender {
49
}
50
51
if let decodedResponse = try? JSONDecoder().decode(SimilarShows.self, from: data) {
52
- let shows = decodedResponse.similarShow.compactMap { (key, value) in
+ let shows = decodedResponse.recommendations.compactMap { (key, value) in
53
return TVShow(id: key, name: value)
54
55
completion(shows)
0 commit comments