diff options
Diffstat (limited to 'app/graphql/types/customer_relations/contact_type.rb')
-rw-r--r-- | app/graphql/types/customer_relations/contact_type.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/graphql/types/customer_relations/contact_type.rb b/app/graphql/types/customer_relations/contact_type.rb index 6a3882c66af..c07d2164d14 100644 --- a/app/graphql/types/customer_relations/contact_type.rb +++ b/app/graphql/types/customer_relations/contact_type.rb @@ -50,6 +50,11 @@ module Types Types::TimeType, null: false, description: 'Timestamp the contact was last updated.' + + field :active, + GraphQL::Types::Boolean, + null: false, + description: 'State of the contact.', method: :active? end end end |