Commit 5067d034 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Make updated_at optional in pipelines serializer

parent 6b52adc6
...@@ -73,7 +73,7 @@ class PipelineEntity < Grape::Entity ...@@ -73,7 +73,7 @@ class PipelineEntity < Grape::Entity
end end
def incremental? def incremental?
options[:incremental] options[:incremental] && last_updated
end end
def last_updated def last_updated
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment