mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	merge: fix lints (!594)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/594 Approved-by: Marie <2-Marie@users.noreply.activitypub.software> Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
This commit is contained in:
		
						commit
						38430f8ef3
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -144,7 +144,7 @@ export class CustomEmojiService implements OnApplicationShutdown {
 | 
			
		|||
 | 
			
		||||
		if (data.driveFile != null) {
 | 
			
		||||
			const file = await this.driveFilesRepository.findOneBy({ url: emoji.originalUrl, userHost: emoji.host ? emoji.host : IsNull() });
 | 
			
		||||
			if (file && file.id != data.driveFile.id) {
 | 
			
		||||
			if (file && file.id !== data.driveFile.id) {
 | 
			
		||||
				await this.driveService.deleteFile(file, false, moderator ? moderator : undefined);
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue