Skip to content

Commit

Permalink
Merge pull request #1981 from adaptlearning/issue/1980
Browse files Browse the repository at this point in the history
use correct callback for import, fixes #1980
  • Loading branch information
taylortom authored Jun 13, 2018
2 parents ded9efb + 7ef1f39 commit 2bd8966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/output/adapt/importsource.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function ImportSource(req, done) {

form.parse(req, function (error, fields, files) {

if (error) return next(error);
if (error) return done(error);

var formTags = (fields.tags && fields.tags.length) ? fields.tags.split(',') : [];
var formAssetDirs = (fields.formAssetFolders && fields.formAssetFolders.length) ? fields.formAssetFolders.split(',') : [];
Expand Down

0 comments on commit 2bd8966

Please sign in to comment.