From 5067d034571dae51e4143dc365472828f54537bb Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Thu, 10 Nov 2016 21:57:15 +0100 Subject: Make updated_at optional in pipelines serializer --- app/serializers/pipeline_entity.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/serializers/pipeline_entity.rb') diff --git a/app/serializers/pipeline_entity.rb b/app/serializers/pipeline_entity.rb index 234ec74c2cd..24fe1602c2d 100644 --- a/app/serializers/pipeline_entity.rb +++ b/app/serializers/pipeline_entity.rb @@ -73,7 +73,7 @@ class PipelineEntity < Grape::Entity end def incremental? - options[:incremental] + options[:incremental] && last_updated end def last_updated -- cgit v1.2.1