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