[API] Fix bug

This commit is contained in:
syuilo 2017-01-26 23:29:55 +09:00
parent ac7999c74b
commit 781a6106a1

View File

@ -68,7 +68,7 @@ module.exports = (params, user) =>
if (exist === null) { if (exist === null) {
// Lookup app // Lookup app
const app = await App.findOne({ const app = await App.findOne({
app_id: session.app_id _id: session.app_id
}); });
// Generate Hash // Generate Hash