Skip to content

Commit

Permalink
fix: wrong value for user check in URL
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultNocchi committed Feb 6, 2023
1 parent f373cb1 commit 4fa3111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/plugins/remote/axios/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class JellyfinInterceptors {
} else if (
RemotePluginAuthInstance.currentUser &&
response.config.url?.includes(
`/Users/${RemotePluginAuthInstance.currentUser}/Items/`
`/Users/${RemotePluginAuthInstance.currentUser?.Id}/Items/`
)
) {
response.data = items.add(data);
Expand Down

0 comments on commit 4fa3111

Please sign in to comment.