This commit is contained in:
syuilo 2017-02-22 12:59:47 +09:00
parent f2c5dc468c
commit 958d1e8d4c

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 {