refactor(ApNoteService.ts): 不要な条件を削除
				
					
				
			This commit is contained in:
		| @@ -345,9 +345,9 @@ export class ApNoteService { | |||||||
| 			const exists = existingEmojis.find(x => x.name === name); | 			const exists = existingEmojis.find(x => x.name === name); | ||||||
|  |  | ||||||
| 			if (exists) { | 			if (exists) { | ||||||
| 				if ((tag.updated != null && exists.updatedAt == null) | 				if ((exists.updatedAt == null) | ||||||
| 					|| (tag.id != null && exists.uri == null) | 					|| (tag.id != null && exists.uri == null) | ||||||
| 					|| (tag.updated != null && exists.updatedAt != null && new Date(tag.updated) > exists.updatedAt) | 					|| (new Date(tag.updated) > exists.updatedAt) | ||||||
| 					|| (tag.icon!.url !== exists.originalUrl) | 					|| (tag.icon!.url !== exists.originalUrl) | ||||||
| 				) { | 				) { | ||||||
| 					await this.emojisRepository.update({ | 					await this.emojisRepository.update({ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 okayurisotto
					okayurisotto