diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-22 12:59:47 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-22 12:59:47 +0900 |
| commit | 958d1e8d4cd50704e9bee5087cb6e23e5cbbb1c0 (patch) | |
| tree | 5aacbe4fee5836858eb6d955ff442cd414857e7f | |
| parent | Extract user's profile (diff) | |
| download | sharkey-958d1e8d4cd50704e9bee5087cb6e23e5cbbb1c0.tar.gz sharkey-958d1e8d4cd50704e9bee5087cb6e23e5cbbb1c0.tar.bz2 sharkey-958d1e8d4cd50704e9bee5087cb6e23e5cbbb1c0.zip | |
typo
| -rw-r--r-- | src/api/serializers/app.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/serializers/app.ts b/src/api/serializers/app.ts index 5c41646be9..7908420f37 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 { |