mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 15:34:13 +00:00 
			
		
		
		
	fix of d8cb7305ef
				
					
				
			This commit is contained in:
		
							parent
							
								
									057a6d731d
								
							
						
					
					
						commit
						ddc799fe3d
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -129,6 +129,10 @@ export class AbuseReportService {
 | 
				
			||||||
			throw new Error('The target user host is null.');
 | 
								throw new Error('The target user host is null.');
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							if (report.forwarded) {
 | 
				
			||||||
 | 
								throw new Error('The report has already been forwarded.');
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		await this.abuseUserReportsRepository.update(report.id, {
 | 
							await this.abuseUserReportsRepository.update(report.id, {
 | 
				
			||||||
			forwarded: true,
 | 
								forwarded: true,
 | 
				
			||||||
		});
 | 
							});
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue