Fix bug
This commit is contained in:
		
							parent
							
								
									e949b4a0d4
								
							
						
					
					
						commit
						d0aed377b9
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -70,7 +70,8 @@ module.exports = (app: express.Application) => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	const twAuth = autwh({
 | 
						const twAuth = autwh({
 | 
				
			||||||
		consumerKey: config.twitter.consumer_key,
 | 
							consumerKey: config.twitter.consumer_key,
 | 
				
			||||||
		consumerSecret: config.twitter.consumer_secret
 | 
							consumerSecret: config.twitter.consumer_secret,
 | 
				
			||||||
 | 
							callbackUrl: `${config.url}/api/tw/cb`
 | 
				
			||||||
	});
 | 
						});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	app.get('/connect/twitter', async (req, res): Promise<any> => {
 | 
						app.get('/connect/twitter', async (req, res): Promise<any> => {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue