Resolve conflicts

This commit is contained in:
syuilo
2018-03-29 14:48:47 +09:00
parent 281b388e39
commit bfc193d8cd
308 changed files with 3045 additions and 3200 deletions

View File

@@ -55,10 +55,10 @@ export default (req: express.Request) => new Promise<IAuthContext>(async (resolv
}
const app = await App
.findOne({ _id: accessToken.app_id });
.findOne({ _id: accessToken.appId });
const user = await User
.findOne({ _id: accessToken.user_id });
.findOne({ _id: accessToken.userId });
return resolve({
app: app,