Make updated_at optional in pipelines serializer
This commit is contained in:
parent
6b52adc661
commit
5067d03457
|
@ -73,7 +73,7 @@ class PipelineEntity < Grape::Entity
|
|||
end
|
||||
|
||||
def incremental?
|
||||
options[:incremental]
|
||||
options[:incremental] && last_updated
|
||||
end
|
||||
|
||||
def last_updated
|
||||
|
|
Loading…
Reference in New Issue