cleanup(ApNoteService.ts): 重要でないasを削除

This commit is contained in:
okayurisotto 2023-07-02 14:01:36 +09:00
parent 688ad27d08
commit c2b184b085

View File

@ -260,7 +260,7 @@ export class ApNoteService {
const emojis = await this.extractEmojis(note.tag ?? [], actor.host).catch(e => {
this.logger.info(`extractEmojis: ${e}`);
return [] as Emoji[];
return [];
});
const apEmojis = emojis.map(emoji => emoji.name);