Skip to content

Commit 0f6cdeb

Browse files
authored
Fix example code, closes #572
1 parent e59f9c3 commit 0f6cdeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SpotifyAPI.Docs/src/pages/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var me = await spotify.UserProfile.Current();
1818
Console.WriteLine($"Hello there {me.DisplayName}");
1919
2020
await foreach(
21-
var playlist in spotify.Paginate(spotify.Playlists.CurrentUsers())
21+
var playlist in spotify.Paginate(await spotify.Playlists.CurrentUsers())
2222
)
2323
{
2424
Console.WriteLine(playlist.Name);

0 commit comments

Comments
 (0)