This commit is contained in:
syuilo 2017-02-22 12:59:47 +09:00
parent 36a6218334
commit 3aa934bcb5

View File

@ -39,7 +39,7 @@ export default (
_id: app
});
} else if (typeof app === 'string') {
_app = await User.findOne({
_app = await App.findOne({
_id: new mongo.ObjectID(app)
});
} else {