Skip to content

Commit f3cd1a4

Browse files
committed
most important model properties are now documented
Signed-off-by: Adam Ratzman <adam@adamratzman.com>
1 parent 086d008 commit f3cd1a4

File tree

2 files changed

+339
-34
lines changed

2 files changed

+339
-34
lines changed

src/main/kotlin/com/adamratzman/spotify/endpoints/public/TracksAPI.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class TracksAPI(api: SpotifyAPI) : SpotifyEndpoint(api) {
9191
fun getAudioFeatures(vararg tracks: String): SpotifyRestAction<List<AudioFeatures?>> {
9292
return toAction(Supplier {
9393
get(EndpointBuilder("/audio-features").with("ids", tracks.joinToString(",") { TrackURI(it).id.encode() }).toString())
94-
.toObject<AudioFeaturesResponse>(api).audio_features
94+
.toObject<AudioFeaturesResponse>(api).audioFeatures
9595
})
9696
}
9797
}

0 commit comments

Comments
 (0)