Skip to content

Commit

Permalink
Merge pull request #557 from SUSE/fix-profile
Browse files Browse the repository at this point in the history
Fix user profile page
  • Loading branch information
richard-cox committed May 3, 2022
2 parents 7370d74 + d9a7def commit 7f539f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 7f539f6

Please sign in to comment.