mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-30 21:14:12 +00:00 
			
		
		
		
	don't return early -- should fix #626
I have no clue why I wrote that code 😭
			
			
This commit is contained in:
		
							parent
							
								
									f5560783ea
								
							
						
					
					
						commit
						c4e0bea931
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -98,9 +98,9 @@ export class AbuseReportService { | |||
| 			const shouldForward = paramsMap.get(report.id)!.forward; | ||||
| 
 | ||||
| 			if (shouldForward && report.targetUserHost != null) { | ||||
| 				return targetUserMap.set(report.id, await this.usersRepository.findOneByOrFail({ id: report.targetUserId })); | ||||
| 				targetUserMap.set(report.id, await this.usersRepository.findOneByOrFail({ id: report.targetUserId })); | ||||
| 			} else { | ||||
| 				return targetUserMap.set(report.id, null); | ||||
| 				targetUserMap.set(report.id, null); | ||||
| 			} | ||||
| 		} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue