Skip to content

Commit

Permalink
Fix XML element selection in Session.SessionKey assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
mx2rel authored Jul 5, 2024
1 parent 0916697 commit c1543de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hqub.Lastfm/LastfmClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public async Task AuthenticateViaWebAsync()

token = null;

Session.SessionKey = doc.Root.Element("key").Value;
Session.SessionKey = doc.Root.Element("session").Element("key").Value;
}

#endregion
Expand Down

0 comments on commit c1543de

Please sign in to comment.