make the linter happy

This commit is contained in:
dakkar 2024-05-11 13:40:28 +01:00
parent 8cb2cb057a
commit a81be17d69
2 changed files with 13 additions and 13 deletions

View file

@ -90,7 +90,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
const addedEmoji = await this.customEmojiService.add({
driveFile,
name: nameNfc,
category: emoji.category?.normalize('NFC'),
category: emoji.category?.normalize('NFC') ?? null,
aliases: emoji.aliases?.map(a => a.normalize('NFC')),
host: null,
license: emoji.license,