chore: formatting

This commit is contained in:
ThatOneCalculator 2023-06-04 14:42:22 -07:00
parent acc3b672bc
commit 6a7e950f21
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
2 changed files with 2 additions and 2 deletions

View File

@ -649,7 +649,7 @@ async function insertNote(
emojis: string[], emojis: string[],
mentionedUsers: MinimumUser[], mentionedUsers: MinimumUser[],
) { ) {
if (data.createdAt === null || data.createdAt === undefined ) { if (data.createdAt === null || data.createdAt === undefined) {
data.createdAt = new Date(); data.createdAt = new Date();
} }
const insert = new Note({ const insert = new Note({