forked from an/flokati
		
	webhooks should work now
This commit is contained in:
		
							parent
							
								
									827167fa46
								
							
						
					
					
						commit
						66c4eecfda
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -25,7 +25,7 @@ func init() {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
func webhookRun() {
 | 
			
		||||
	scanner := bufio.NewScanner(*webhook_token)
 | 
			
		||||
	scanner := bufio.NewScanner(*webhookToken)
 | 
			
		||||
	for scanner.Scan() {
 | 
			
		||||
		tok := strings.Split(scanner.Text(), " ")
 | 
			
		||||
		http.HandleFunc("/webhook/"+tok[0], webhookHandleHTTP)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue