From 6d602fa80aa182f9af2cf8330565db6b57f2ed74 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 5 Dec 2023 19:32:39 -0800 Subject: [PATCH] chore: :art: format --- packages/backend/src/services/note/create.ts | 5 ++++- packages/client/src/components/MkDrive.vue | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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 @@