Skip to content

Commit

Permalink
Fix api token read error (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyarenei authored Aug 13, 2023
1 parent 2baea5e commit cf0b6dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: "ListenBrainz"
guid: "59B20823-AAFE-454C-A393-17427F518631"
version: "3.0.1.0"
version: "3.0.2.0"
targetAbi: "10.8.0.0"
framework: "net6.0"
overview: "Track your music habits with ListenBrainz."
Expand All @@ -15,4 +15,4 @@ artifacts:
- "Jellyfin.Plugin.ListenBrainz.Api.dll"
- "Jellyfin.Plugin.ListenBrainz.MusicBrainzApi.dll"
changelog: >
Temporary fix: correctly resolve plugin data path - fixes listen cache and migration
Fix: Correctly store user API token.
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ <h3>General Config</h3>
function getUserConfigInputs() {
return {
JellyfinUserId: getSelectedUserId(),
ApiToken: getApiToken(),
ApiToken: btoa(getApiToken()),
IsListenSubmitEnabled: document.querySelector('#IsListenSubmitEnabled').checked,
IsFavoritesSyncEnabled: document.querySelector('#IsFavoritesSyncEnabled').checked,
}
Expand Down

0 comments on commit cf0b6dc

Please sign in to comment.