Skip to content

Commit

Permalink
Update the current user service to new structure from whoami
Browse files Browse the repository at this point in the history
  • Loading branch information
markpatton committed Apr 22, 2024
1 parent d4703bb commit 2d3fa1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/current-user.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default class CurrentUserService extends Service {
*/
@task
load = function* () {
let userId = this.session.data.authenticated.user.id;
let userId = this.session.data.authenticated.id;

if (userId) {
let user = yield this.store.findRecord('user', userId);
Expand Down

0 comments on commit 2d3fa1c

Please sign in to comment.