mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-24 06:55:12 +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({
|
||||
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,
|
||||
|
|
Loading…
Reference in a new issue