mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-24 15:05:13 +00:00
fix type in emoji/copy endpoint
this is also fixed in the `future` branch
This commit is contained in:
parent
cea0811ca6
commit
fae32f2a77
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
||||||
const addedEmoji = await this.customEmojiService.add({
|
const addedEmoji = await this.customEmojiService.add({
|
||||||
driveFile,
|
driveFile,
|
||||||
name: nameNfc,
|
name: nameNfc,
|
||||||
category: emoji.category?.normalize('NFC'),
|
category: emoji.category?.normalize('NFC') ?? null,
|
||||||
aliases: emoji.aliases?.map(a => a.normalize('NFC')),
|
aliases: emoji.aliases?.map(a => a.normalize('NFC')),
|
||||||
host: null,
|
host: null,
|
||||||
license: emoji.license,
|
license: emoji.license,
|
||||||
|
|
Loading…
Reference in a new issue