提交 5e9bbbbc 编写于 作者: S Sercan Özdemir

resolves #74

上级 b99e25e5
...@@ -137,7 +137,7 @@ Meteor.methods({ ...@@ -137,7 +137,7 @@ Meteor.methods({
return Async.runSync(function (done) { return Async.runSync(function (done) {
try { try {
database.createCollection(collectionName, options, function (err, result) { database.createCollection(collectionName, options, function (err, result) {
done(err, result); done(err, null);
}); });
} }
catch (ex) { catch (ex) {
...@@ -146,4 +146,4 @@ Meteor.methods({ ...@@ -146,4 +146,4 @@ Meteor.methods({
} }
}); });
} }
}); });
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册