summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-22 12:59:47 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-22 12:59:47 +0900
commit958d1e8d4cd50704e9bee5087cb6e23e5cbbb1c0 (patch)
tree5aacbe4fee5836858eb6d955ff442cd414857e7f /src/api
parentExtract user's profile (diff)
downloadsharkey-958d1e8d4cd50704e9bee5087cb6e23e5cbbb1c0.tar.gz
sharkey-958d1e8d4cd50704e9bee5087cb6e23e5cbbb1c0.tar.bz2
sharkey-958d1e8d4cd50704e9bee5087cb6e23e5cbbb1c0.zip
typo
Diffstat (limited to 'src/api')
-rw-r--r--src/api/serializers/app.ts2
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 {