diff --git a/SpotifyAPI.Docs/src/pages/index.js b/SpotifyAPI.Docs/src/pages/index.js index 3e15ffa7..126e1ca3 100644 --- a/SpotifyAPI.Docs/src/pages/index.js +++ b/SpotifyAPI.Docs/src/pages/index.js @@ -18,7 +18,7 @@ var me = await spotify.UserProfile.Current(); Console.WriteLine($"Hello there {me.DisplayName}"); await foreach( - var playlist in spotify.Paginate(spotify.Playlists.CurrentUsers()) + var playlist in spotify.Paginate(await spotify.Playlists.CurrentUsers()) ) { Console.WriteLine(playlist.Name);