Skip to content

Commit 7103b52

Browse files
Fixed project invitation updates (#233)
1 parent e6764bc commit 7103b52

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mongodbatlas/project_invitations.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,6 @@ func (s *ProjectsServiceOp) UpdateInvitationByID(ctx context.Context, groupID, i
124124
return nil, nil, NewArgError("invitationID", "must be set")
125125
}
126126

127-
invitation.ID = invitationID
128-
129127
return s.updateInvitation(ctx, groupID, invitationID, invitation)
130128
}
131129

0 commit comments

Comments
 (0)