[API] Clean up
This commit is contained in:
		
							parent
							
								
									89a3d6789c
								
							
						
					
					
						commit
						a7e646e7c1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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 }); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue