Appease the linter's idiosyncracies

A lowercase 't' is provided here for you to insert into the above line
as you see fit.
This commit is contained in:
HellhoundSoftware 2025-01-13 20:03:42 -05:00
parent bf9a166462
commit 6e621e0eff
No known key found for this signature in database

View file

@ -97,8 +97,8 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
}
let categoryNfc: string|null|undefined = ps.category?.normalize('NFC');
if (ps.category === null) // stop ?. from turning a null into an undefined
categoryNfc = null;
// stop ?. from turning a null into an undefined
if (ps.category === null) categoryNfc = null;
await this.customEmojiService.update(emojiId, {
driveFile,