Skip to content

Commit

Permalink
Fixed promise was not returned
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgindi committed Oct 19, 2015
1 parent 4388df7 commit 0bd5e99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backup/mysql.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ var MysqlBackupController = {
resolver.reject(err);
});

return resolver;
return resolver.promise;

});

Expand Down Expand Up @@ -420,4 +420,4 @@ var MysqlBackupController = {

};

module.exports = MysqlBackupController;
module.exports = MysqlBackupController;

0 comments on commit 0bd5e99

Please sign in to comment.