mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-27 14:24:38 +00:00
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:
parent
bf9a166462
commit
6e621e0eff
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue