From 0e9db832795c008ab701931dfb8affcad8a545da Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Thu, 2 Jan 2025 04:52:30 +0100 Subject: [PATCH] style: :rotating_light: Run Biome --- classes/workers/push.ts | 2 +- utils/content_types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/workers/push.ts b/classes/workers/push.ts index 6c477245..663d224d 100644 --- a/classes/workers/push.ts +++ b/classes/workers/push.ts @@ -1,3 +1,4 @@ +import { htmlToText } from "@/content_types.ts"; import { Note, PushSubscription, Token, User } from "@versia/kit/db"; import { Worker } from "bullmq"; import { sendNotification } from "web-push"; @@ -8,7 +9,6 @@ import { type PushJobType, pushQueue, } from "../queues/push.ts"; -import { htmlToText } from "@/content_types.ts"; export const getPushWorker = (): Worker => new Worker( diff --git a/utils/content_types.ts b/utils/content_types.ts index 16bdacd2..5dece767 100644 --- a/utils/content_types.ts +++ b/utils/content_types.ts @@ -1,7 +1,7 @@ import type { ContentFormat } from "@versia/federation/types"; +import { htmlToText as htmlToTextLib } from "html-to-text"; import { lookup } from "mime-types"; import { config } from "~/packages/config-manager"; -import { htmlToText as htmlToTextLib } from "html-to-text"; export const getBestContentType = ( content?: ContentFormat | null,