lib/access/response.rb in access-2.0.43 vs lib/access/response.rb in access-2.0.44
- old
+ new
@@ -137,10 +137,13 @@
end
end
class UserResponse < Response
def process_data
- @users = Access::User.process_batch(@users) if @users
+ if @members
+ @members = Access::Member.process_batch(@members)
+ @users = @members.map {|x| x if x.user }.compact
+ end
end
end
class MemberResponse < Response
def process_data