summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ide/stores/mutations/file.js
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-06-15 11:12:13 +0100
committerPhil Hughes <me@iamphill.com>2018-06-15 11:19:35 +0100
commit3530274b13ec4f20731f9f98ea94dabe1494072d (patch)
tree5400c31eaf71f4f9740a4666259ab987a508b547 /app/assets/javascripts/ide/stores/mutations/file.js
parente906be2f683f6170a5ee1d5b5f104ab0e08062d1 (diff)
downloadgitlab-ce-3530274b13ec4f20731f9f98ea94dabe1494072d.tar.gz
only return last_commit_sha in the JSONide-add-last-commit-id-to-api-call
Diffstat (limited to 'app/assets/javascripts/ide/stores/mutations/file.js')
-rw-r--r--app/assets/javascripts/ide/stores/mutations/file.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/ide/stores/mutations/file.js b/app/assets/javascripts/ide/stores/mutations/file.js
index ef70679f20e..46547820425 100644
--- a/app/assets/javascripts/ide/stores/mutations/file.js
+++ b/app/assets/javascripts/ide/stores/mutations/file.js
@@ -47,7 +47,7 @@ export default {
baseRaw: null,
html: data.html,
size: data.size,
- lastCommit: data.last_commit,
+ lastCommitSha: data.last_commit_sha,
});
},
[types.SET_FILE_RAW_DATA](state, { file, raw }) {