mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 22:22:51 +09:00
cleanup(ApNoteService.ts
): 重要でないas
を削除
This commit is contained in:
parent
688ad27d08
commit
c2b184b085
@ -260,7 +260,7 @@ export class ApNoteService {
|
|||||||
|
|
||||||
const emojis = await this.extractEmojis(note.tag ?? [], actor.host).catch(e => {
|
const emojis = await this.extractEmojis(note.tag ?? [], actor.host).catch(e => {
|
||||||
this.logger.info(`extractEmojis: ${e}`);
|
this.logger.info(`extractEmojis: ${e}`);
|
||||||
return [] as Emoji[];
|
return [];
|
||||||
});
|
});
|
||||||
|
|
||||||
const apEmojis = emojis.map(emoji => emoji.name);
|
const apEmojis = emojis.map(emoji => emoji.name);
|
||||||
|
Loading…
Reference in New Issue
Block a user