Fix #3041
This commit is contained in:
		
							parent
							
								
									a82c3db750
								
							
						
					
					
						commit
						de569147a5
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -143,8 +143,7 @@ export default (params: any, me: ILocalUser) => new Promise(async (res, rej) =>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	const query = {
 | 
						const query = {
 | 
				
			||||||
		deletedAt: null,
 | 
							deletedAt: null,
 | 
				
			||||||
		userId: user._id,
 | 
							userId: user._id
 | 
				
			||||||
		visibility: { $in: ['public', 'home'] }
 | 
					 | 
				
			||||||
	} as any;
 | 
						} as any;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (ps.sinceId) {
 | 
						if (ps.sinceId) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue