summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/repository/queries/pathLastCommit.query.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/repository/queries/pathLastCommit.query.graphql')
-rw-r--r--app/assets/javascripts/repository/queries/pathLastCommit.query.graphql6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/repository/queries/pathLastCommit.query.graphql b/app/assets/javascripts/repository/queries/pathLastCommit.query.graphql
index 90901f54d54..3bdfd979fa4 100644
--- a/app/assets/javascripts/repository/queries/pathLastCommit.query.graphql
+++ b/app/assets/javascripts/repository/queries/pathLastCommit.query.graphql
@@ -2,8 +2,8 @@ query pathLastCommit($projectPath: ID!, $path: String, $ref: String!) {
project(fullPath: $projectPath) {
repository {
tree(path: $path, ref: $ref) {
- commit {
- id
+ lastCommit {
+ sha
title
message
webUrl
@@ -13,7 +13,7 @@ query pathLastCommit($projectPath: ID!, $path: String, $ref: String!) {
avatarUrl
webUrl
}
- pipeline {
+ latestPipeline {
detailedStatus {
detailsPath
icon