Fix bug
This commit is contained in:
		
							parent
							
								
									77bac02fc0
								
							
						
					
					
						commit
						d59ad70802
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -44,7 +44,9 @@ module.exports = (params, me) => new Promise(async (res, rej) => {
 | 
			
		|||
 | 
			
		||||
	// Issue query
 | 
			
		||||
	const users = await User
 | 
			
		||||
		.find({}, {
 | 
			
		||||
		.find({
 | 
			
		||||
			host: null
 | 
			
		||||
		}, {
 | 
			
		||||
			limit: limit,
 | 
			
		||||
			sort: _sort,
 | 
			
		||||
			skip: offset
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue