From 0f6cdeb6930af43d4dfcd9f2184344368be22cd1 Mon Sep 17 00:00:00 2001 From: Jonas Dellinger Date: Sun, 28 Mar 2021 22:40:25 +0200 Subject: [PATCH] Fix example code, closes #572 --- SpotifyAPI.Docs/src/pages/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);