fix invalid syntax in ContentMigration.coffee

Change-Id: Ic426afc3de47a0bf988aad1e93d13cfd5a2d118c
Reviewed-on: https://gerrit.instructure.com/141720
Tested-by: Jenkins
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
This commit is contained in:
Ryan Shaw 2018-02-22 22:08:25 -07:00
parent 268ed4ead8
commit 7aa3757cfa
1 changed files with 3 additions and 3 deletions

View File

@ -102,9 +102,9 @@ define [
super _.omit(arguments[0], 'file'),
error: (xhr) => reject(xhr.responseText)
success: (model, xhr, options) =>
uploader.completeUpload(@get('pre_attachment'), file, ignoreResult: true).
catch(reject).
then(resolve)
uploader.completeUpload(@get('pre_attachment'), file, ignoreResult: true)
.catch(reject)
.then(resolve)
dObject