Skip to content

Commit f463ef5

Browse files
committed
1 parent 7cced60 commit f463ef5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/gitlab/badge/build/status.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ def entity
2121
def status
2222
@project.pipelines
2323
.where(sha: @sha)
24-
.latest(@ref)
25-
.status || 'unknown'
24+
.latest_status(@ref) || 'unknown'
2625
end
2726

2827
def metadata

0 commit comments

Comments
 (0)