restpack-group-client 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,7 @@ module RestPack::Group::Client
|
|
23
23
|
end
|
24
24
|
|
25
25
|
for id in data[:invitation_ids]
|
26
|
-
invitation = invitations.first { |i|
|
26
|
+
invitation = invitations.first { |i| i.id == id }
|
27
27
|
invitation.group = self
|
28
28
|
invitation.membership = memberships.first { |m| m.id == invitation.membership_id }
|
29
29
|
@invitations << invitation
|