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:
parent
268ed4ead8
commit
7aa3757cfa
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue