mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-30 21:14:12 +00:00 
			
		
		
		
	merge: prettier query for bubble timeline (#204)
This commit is contained in:
		
						commit
						0de8053bc0
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		|  | @ -79,9 +79,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint- | |||
| 				ps.sinceId, ps.untilId, ps.sinceDate, ps.untilDate) | ||||
| 				.andWhere('note.visibility = \'public\'') | ||||
| 				.andWhere('note.channelId IS NULL') | ||||
| 				.andWhere( | ||||
| 					`(note.userHost = ANY ('{"${instance.bubbleInstances.join('","')}"}'))`, | ||||
| 				)		 | ||||
| 				.andWhere('note.userHost IN (:...hosts)', { hosts: instance.bubbleInstances }) | ||||
| 				.innerJoinAndSelect('note.user', 'user') | ||||
| 				.leftJoinAndSelect('note.reply', 'reply') | ||||
| 				.leftJoinAndSelect('note.renote', 'renote') | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue