diff --git a/packages/backend/src/services/note/create.ts b/packages/backend/src/services/note/create.ts index bff0968f9..9c11478f5 100644 --- a/packages/backend/src/services/note/create.ts +++ b/packages/backend/src/services/note/create.ts @@ -782,7 +782,10 @@ async function insertNote( await transactionalEntityManager.insert(Note, insert); let expiresAt: Date | null; - if (!data.poll.expiresAt || Number.isNaN(data.poll.expiresAt.getTime())) { + if ( + !data.poll.expiresAt || + Number.isNaN(data.poll.expiresAt.getTime()) + ) { expiresAt = null; } else { expiresAt = data.poll.expiresAt; diff --git a/packages/client/src/components/MkDrive.vue b/packages/client/src/components/MkDrive.vue index f3da4e245..0ee3d82fa 100644 --- a/packages/client/src/components/MkDrive.vue +++ b/packages/client/src/components/MkDrive.vue @@ -1,6 +1,6 @@