diff --git a/src/frontend/packages/store/src/actions/user-profile.actions.ts b/src/frontend/packages/store/src/actions/user-profile.actions.ts index dfc0822ee9..15213d68c2 100644 --- a/src/frontend/packages/store/src/actions/user-profile.actions.ts +++ b/src/frontend/packages/store/src/actions/user-profile.actions.ts @@ -8,7 +8,7 @@ export const UPDATE_USERPROFILE = '[UserProfile] Update'; export const UPDATE_USERPASSWORD = '[UserPassword] Update'; abstract class BaseProfileAction implements EntityRequestAction { - static guid = 'userProfile'; + static guid = userProfileEntityType; guid = BaseProfileAction.guid; entityType = userProfileEntityType; endpointType = STRATOS_ENDPOINT_TYPE; diff --git a/src/frontend/packages/store/src/helpers/stratos-entity-factory.ts b/src/frontend/packages/store/src/helpers/stratos-entity-factory.ts index f7e64fb720..d07260f52f 100644 --- a/src/frontend/packages/store/src/helpers/stratos-entity-factory.ts +++ b/src/frontend/packages/store/src/helpers/stratos-entity-factory.ts @@ -30,6 +30,7 @@ const EndpointSchema = new StratosEntitySchema(endpointEntityType, 'guid'); entityCache[endpointEntityType] = EndpointSchema; const UserProfileInfoSchema = new StratosEntitySchema(userProfileEntityType, 'id'); +UserProfileInfoSchema.getId = () => userProfileEntityType; entityCache[userProfileEntityType] = UserProfileInfoSchema; const ApiKeySchema = new StratosEntitySchema(apiKeyEntityType, 'guid');