From 8442145e881be07888c21a57830b5ba4502d9952 Mon Sep 17 00:00:00 2001 From: Jonas Dellinger Date: Sat, 25 Apr 2020 23:10:28 +0200 Subject: [PATCH] README example adapted, fixes #443 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bf666f93..184e1ce9 100644 --- a/README.md +++ b/README.md @@ -45,9 +45,9 @@ public static async void Example() TokenType = "Bearer" }; - PrivateProfile profile = await api.GetPrivateProfileAsync(); - if(!profile.HasError()) { - Console.WriteLine(profile.DisplayName); + FullTrack track = await api.GetTrackAsync("1eV81a6H4xDdpi8r2C4tQT"); + if(!track.HasError()) { + Console.WriteLine(track.Name); } } ```