lib/decidim/meetings/meeting_serializer.rb in decidim-meetings-0.25.2 vs lib/decidim/meetings/meeting_serializer.rb in decidim-meetings-0.26.0.rc1
- old
+ new
@@ -39,11 +39,11 @@
organizations: meeting.attending_organizations,
address: meeting.address,
location: meeting.location,
reference: meeting.reference,
comments: meeting.comments_count,
- attachments: meeting.attachments.count,
- followers: meeting.followers.count,
+ attachments: meeting.attachments.size,
+ followers: meeting.follows.size,
url: url,
related_proposals: related_proposals,
related_results: related_results
}
end