diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-11-10 23:57:15 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-11-10 23:57:47 +0300 |
commit | 5067d034571dae51e4143dc365472828f54537bb (patch) | |
tree | 6dd8410821009ef2aa351dc3e8c465c4a367c072 /app/serializers/pipeline_entity.rb | |
parent | 6b52adc661896434d3fea1fd7f83c62bef2456a6 (diff) |
Make updated_at optional in pipelines serializer
Diffstat (limited to 'app/serializers/pipeline_entity.rb')
-rw-r--r-- | app/serializers/pipeline_entity.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |