chore: formatting
This commit is contained in:
parent
acc3b672bc
commit
6a7e950f21
|
@ -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({
|
||||||
|
|
Loading…
Reference in New Issue