diff options
author | Stan Hu <stanhu@gmail.com> | 2019-05-09 07:53:25 -0500 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-05-09 18:04:40 -0500 |
commit | e67481e079023e1319e91fabfb90b88c9a2b2655 (patch) | |
tree | 1b8536d97905bec416e18336e5dc439bc589919d /jest.config.js | |
parent | 712dccd4c0f37b9fce12f5a945a551f8dca07cc4 (diff) | |
download | gitlab-ce-e67481e079023e1319e91fabfb90b88c9a2b2655.tar.gz |
Properly handle LFS Batch API response in project importsh-fix-lfs-download-errors
Project imports were failing with `undefined method each_with_object for
String` because the import was attempting to parse the LFS Batch API and
failing due to the fact that the Content-Type wasn't a supported format
(e.g. application/vnd.git-lfs+json instead of application/json). We now
parse the body as JSON.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61624
Diffstat (limited to 'jest.config.js')
0 files changed, 0 insertions, 0 deletions