refactor(ApNoteService.ts
): eslint-disable-next-line
This commit is contained in:
parent
c2b184b085
commit
394678e444
|
@ -328,6 +328,7 @@ export class ApNoteService {
|
||||||
|
|
||||||
@bindThis
|
@bindThis
|
||||||
public async extractEmojis(tags: IObject | IObject[], host: string): Promise<Emoji[]> {
|
public async extractEmojis(tags: IObject | IObject[], host: string): Promise<Emoji[]> {
|
||||||
|
// eslint-disable-next-line no-param-reassign
|
||||||
host = this.utilityService.toPuny(host);
|
host = this.utilityService.toPuny(host);
|
||||||
|
|
||||||
if (!tags) return [];
|
if (!tags) return [];
|
||||||
|
|
Loading…
Reference in a new issue