mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
style: 🚨 Run Biome
This commit is contained in:
parent
3484b1e1a1
commit
0e9db83279
|
|
@ -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>(
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue