From ef1ab4a46b440dfbc5c0c924cfbd42b43d05b2c8 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Thu, 15 Apr 2021 19:17:31 +0200 Subject: [PATCH] fix syntax error --- app/serializers/provider_serializer.rb | 3 +-- app/serializers/v3/provider_serializer.rb | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/serializers/provider_serializer.rb b/app/serializers/provider_serializer.rb index 1789389d3..fd492bc37 100644 --- a/app/serializers/provider_serializer.rb +++ b/app/serializers/provider_serializer.rb @@ -282,8 +282,7 @@ class ProviderSerializer ) == true } do |object| - object.has_required_contacts - end + object.has_required_contacts end attribute :salesforce_id, diff --git a/app/serializers/v3/provider_serializer.rb b/app/serializers/v3/provider_serializer.rb index 5262254ce..fc1d023ef 100644 --- a/app/serializers/v3/provider_serializer.rb +++ b/app/serializers/v3/provider_serializer.rb @@ -281,8 +281,7 @@ class V3::ProviderSerializer ) == true } do |object| - object.has_required_contacts - end + object.has_required_contacts end attribute :salesforce_id,