From 958d1e8d4cd50704e9bee5087cb6e23e5cbbb1c0 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 22 Feb 2017 12:59:47 +0900 Subject: [PATCH] typo --- src/api/serializers/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/serializers/app.ts b/src/api/serializers/app.ts index 5c41646be..7908420f3 100644 --- a/src/api/serializers/app.ts +++ b/src/api/serializers/app.ts @@ -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 {