Skip to content

Commit

Permalink
use accepted_at
Browse files Browse the repository at this point in the history
  • Loading branch information
“Apoorv committed Apr 4, 2024
1 parent cd6149a commit fcefdd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/presenters/invitation_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def process
lastName: invitation.last_name,
email: invitation.recipient_email,
role: invitation.role,
status: "INVITATION PENDING",
accepted_at: invitation.accepted_at,
isTeamMember: false,
profilePicture: ActionController::Base.helpers.image_url("avatar.svg")
}
Expand Down
2 changes: 1 addition & 1 deletion app/views/internal_api/v1/team/update.json.jbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ json.user do
json.extract! user, :id, :first_name, :last_name, :email
json.name user.full_name
json.role user.primary_role(current_company)
json.status nil
json.accepted_at nil
json.is_team_member true
json.data_type "Team"
json.profile_picture user.avatar_url
Expand Down

0 comments on commit fcefdd0

Please sign in to comment.