Skip to content

Commit

Permalink
fix(auth): capture error to prevent misleading “wrong combination” error
Browse files Browse the repository at this point in the history
Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>
  • Loading branch information
2 people authored and ChristiaanScheermeijer committed Jan 31, 2024
1 parent 1612002 commit 588f69a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
},
"dependencies": {
"@inplayer-org/inplayer.js": "^3.13.24",
"@tanstack/query-core": "^4.36.1",
"broadcast-channel": "^7.0.0",
"date-fns": "^2.28.0",
"fast-xml-parser": "^4.3.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/common/src/stores/AccountController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ export default class AccountController {
if (response) {
await this.afterLogin(response.user, response.customerConsents, accessModel);

await this.favoritesController?.restoreFavorites();
await this.watchHistoryController?.restoreWatchHistory();
await this.favoritesController?.restoreFavorites().catch(logDev);
await this.watchHistoryController?.restoreWatchHistory().catch(logDev);
}

useAccountStore.setState({ loading: false });
Expand Down

0 comments on commit 588f69a

Please sign in to comment.