style: 🚨 Run Biome

This commit is contained in:
Jesse Wierzbinski 2025-01-02 04:52:30 +01:00
parent 3484b1e1a1
commit 0e9db83279
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -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<PushJobData, void, PushJobType> =>
new Worker<PushJobData, void, PushJobType>(

View file

@ -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,