Commit 123f8077 authored by Matija Čupić's avatar Matija Čupić

Use Project#last_pipeline in entity

parent 8736e283
......@@ -47,7 +47,7 @@ class DashboardOperationsProjectEntity < Grape::Entity
end
def last_pipeline
dashboard_project.project.commit&.last_pipeline
dashboard_project.project.last_pipeline
end
def upstream_pipeline
......
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