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
1 changed files with 1 additions and 0 deletions

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 [];