diff options
author | Phil Hughes <me@iamphill.com> | 2018-06-15 11:12:13 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-06-15 11:19:35 +0100 |
commit | 3530274b13ec4f20731f9f98ea94dabe1494072d (patch) | |
tree | 5400c31eaf71f4f9740a4666259ab987a508b547 /app/assets/javascripts/ide/stores/mutations/file.js | |
parent | e906be2f683f6170a5ee1d5b5f104ab0e08062d1 (diff) | |
download | gitlab-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.js | 2 |
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 }) { |