Skip to content
Snippets Groups Projects
Commit a7e646e7 authored by syuilo's avatar syuilo
Browse files

[API] Clean up

parent 89a3d678
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ export interface IAuthContext {
}
export default (req: express.Request) => new Promise<IAuthContext>(async (resolve, reject) => {
const token = req.body['i'] || req.body['_userkey']; // そのうち_userkeyは削除
const token = req.body['i'];
if (token == null) {
return resolve({ app: null, user: null, isSecure: false });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment