Skip to content
Snippets Groups Projects
Commit fae32f2a authored by dakkar's avatar dakkar
Browse files

fix type in emoji/copy endpoint

this is also fixed in the `future` branch
parent cea0811c
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment