From fa1214375f42bb6ea9f7cf1551dcf35f50d6de24 Mon Sep 17 00:00:00 2001 From: Mark Patton Date: Tue, 2 Apr 2024 14:33:01 -0400 Subject: [PATCH] Update the current user service to new structure from whoami --- app/services/current-user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/current-user.js b/app/services/current-user.js index d36f060a..bc25f3db 100644 --- a/app/services/current-user.js +++ b/app/services/current-user.js @@ -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);