RENAME: api --> services
This commit is contained in:
		
							parent
							
								
									0de40f3a76
								
							
						
					
					
						commit
						b6aeacdeb9
					
				
					 14 changed files with 8 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
import * as request from 'request-promise-native';
 | 
			
		||||
import User from '../../../models/user';
 | 
			
		||||
import createPost from '../../../api/post/create';
 | 
			
		||||
import createPost from '../../../services/post/create';
 | 
			
		||||
 | 
			
		||||
export default async ({ data }) => {
 | 
			
		||||
	const asyncBot = User.findOne({ _id: data.userId });
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue