style(backend): fix all eslint errors (#9967)

This commit is contained in:
Kagami Sascha Rosylight 2023-02-17 02:56:59 +01:00 committed by GitHub
parent 7c5fc2c423
commit 8f9ce23e52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 11 additions and 12 deletions

View file

@ -280,7 +280,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
files: files,
poll: ps.poll ? {
choices: ps.poll.choices,
multiple: ps.poll.multiple || false,
multiple: ps.poll.multiple ?? false,
expiresAt: ps.poll.expiresAt ? new Date(ps.poll.expiresAt) : null,
} : undefined,
text: ps.text ?? undefined,