From 73dcf4f8fac507d27b0a67234955ec90717a0f54 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 8 Aug 2023 18:03:21 -0700 Subject: [PATCH] chore: :art: format --- packages/backend/src/db/meilisearch.ts | 6 +++++- .../src/server/api/endpoints/drive/files/caption-image.ts | 4 ++-- packages/client/src/pages/about-firefish.vue | 3 ++- packages/client/src/pages/announcements.vue | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/packages/backend/src/db/meilisearch.ts b/packages/backend/src/db/meilisearch.ts index 68404c5b1..bee693cbd 100644 --- a/packages/backend/src/db/meilisearch.ts +++ b/packages/backend/src/db/meilisearch.ts @@ -226,7 +226,11 @@ export default hasConfig return null; } else if (term.startsWith("domain:")) { const domain = term.slice(7); - if (domain.length === 0 || domain === "local" || domain === config.hostname) { + if ( + domain.length === 0 || + domain === "local" || + domain === config.hostname + ) { constructedFilters.push("userHost NOT EXISTS"); return null; } diff --git a/packages/backend/src/server/api/endpoints/drive/files/caption-image.ts b/packages/backend/src/server/api/endpoints/drive/files/caption-image.ts index f0fbbb478..30c8e3de8 100644 --- a/packages/backend/src/server/api/endpoints/drive/files/caption-image.ts +++ b/packages/backend/src/server/api/endpoints/drive/files/caption-image.ts @@ -33,8 +33,8 @@ export default define(meta, paramDef, async (ps) => { const { data: { text }, } = await worker.recognize(ps.url, { - rotateAuto: true, - }); + rotateAuto: true, + }); await worker.terminate(); return text; diff --git a/packages/client/src/pages/about-firefish.vue b/packages/client/src/pages/about-firefish.vue index e43ed6ae9..651688d72 100644 --- a/packages/client/src/pages/about-firefish.vue +++ b/packages/client/src/pages/about-firefish.vue @@ -106,7 +106,8 @@ :text="'@namekuji@firefish.social (Backend)'" /> -
+