cleanup(ApNoteService.ts): deadcode

This commit is contained in:
okayurisotto 2023-07-02 14:07:47 +09:00
parent 394678e444
commit c788cbb195

View file

@ -331,8 +331,6 @@ export class ApNoteService {
// eslint-disable-next-line no-param-reassign // eslint-disable-next-line no-param-reassign
host = this.utilityService.toPuny(host); host = this.utilityService.toPuny(host);
if (!tags) return [];
const eomjiTags = toArray(tags).filter(isEmoji); const eomjiTags = toArray(tags).filter(isEmoji);
const existingEmojis = await this.emojisRepository.findBy({ const existingEmojis = await this.emojisRepository.findBy({