Skip to content

Commit

Permalink
web/satellite: updated GET members API response handling
Browse files Browse the repository at this point in the history
Updated GET members response handling to work correctly with new response type.

Issue:
storj/storj-private#568

Change-Id: I05f91953f2f077bddab09dc5e2bc18d05df6a058
  • Loading branch information
VitaliiShpital committed Jan 26, 2024
1 parent 7342b06 commit e923acd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/satellite/src/api/projectMembers.ts
Expand Up @@ -120,11 +120,11 @@ export class ProjectMembersHttpApi implements ProjectMembersApi {

const projectMembersPage: ProjectMembersPage = new ProjectMembersPage();
projectMembersPage.projectMembers = projectMembers.projectMembers.map(key => new ProjectMember(
key.user.fullName,
key.user.shortName,
key.user.email,
key.fullName,
key.shortName,
key.email,
new Date(key.joinedAt),
key.user.id,
key.id,
));
projectMembersPage.projectInvitations = projectMembers.projectInvitations.map(key => new ProjectInvitationItemModel(
key.email,
Expand Down

0 comments on commit e923acd

Please sign in to comment.