parent
							
								
									c7106d250c
								
							
						
					
					
						commit
						a1b490afa7
					
				
					 167 changed files with 4440 additions and 1762 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
import * as request from 'request-promise-native';
 | 
			
		||||
import User from '../../../models/user';
 | 
			
		||||
import createPost from '../../../services/post/create';
 | 
			
		||||
import createNote from '../../../services/note/create';
 | 
			
		||||
 | 
			
		||||
export default async ({ data }) => {
 | 
			
		||||
	const asyncBot = User.findOne({ _id: data.userId });
 | 
			
		||||
| 
						 | 
				
			
			@ -20,5 +20,5 @@ export default async ({ data }) => {
 | 
			
		|||
		`**⚠️BUILD STILL FAILED⚠️**: ?[${data.message}](${data.htmlUrl})` :
 | 
			
		||||
		`**🚨BUILD FAILED🚨**: →→→?[${data.message}](${data.htmlUrl})←←←`;
 | 
			
		||||
 | 
			
		||||
	createPost(await asyncBot, { text });
 | 
			
		||||
	createNote(await asyncBot, { text });
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue