wip
This commit is contained in:
		
							parent
							
								
									30bd467b71
								
							
						
					
					
						commit
						0de40f3a76
					
				
					 4 changed files with 16 additions and 27 deletions
				
			
		| 
						 | 
				
			
			@ -28,6 +28,15 @@ export function createDb(data) {
 | 
			
		|||
	return queue.create('db', data);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export function deliver(user, content, to) {
 | 
			
		||||
	return createHttp({
 | 
			
		||||
		type: 'deliver',
 | 
			
		||||
		user,
 | 
			
		||||
		content,
 | 
			
		||||
		to
 | 
			
		||||
	});
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export default function() {
 | 
			
		||||
	queue.process('db', db);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue