refactor(ApNoteService.ts): eslint-disable-next-line

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

View file

@ -328,6 +328,7 @@ export class ApNoteService {
@bindThis
public async extractEmojis(tags: IObject | IObject[], host: string): Promise<Emoji[]> {
// eslint-disable-next-line no-param-reassign
host = this.utilityService.toPuny(host);
if (!tags) return [];