mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
Fix errors flagged by Biome
This commit is contained in:
parent
27354f2d74
commit
e67dc07473
6 changed files with 9 additions and 8 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import { dualLogger } from "@loggers";
|
||||
import { sanitizeHtml } from "@sanitization";
|
||||
import { config } from "config-manager";
|
||||
import {
|
||||
|
|
@ -35,7 +36,6 @@ import {
|
|||
statusToMentions,
|
||||
user,
|
||||
} from "~drizzle/schema";
|
||||
import { dualLogger } from "@loggers";
|
||||
import { LogLevel } from "~packages/log-manager";
|
||||
import type { Note } from "~types/lysand/Object";
|
||||
import type { Attachment as APIAttachment } from "~types/mastodon/attachment";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import { getBestContentType, urlToContentFormat } from "@content_types";
|
||||
import { dualLogger } from "@loggers";
|
||||
import { addUserToMeilisearch } from "@meilisearch";
|
||||
import { type Config, config } from "config-manager";
|
||||
import { type InferSelectModel, and, eq, sql } from "drizzle-orm";
|
||||
|
|
@ -12,7 +13,6 @@ import {
|
|||
relationship,
|
||||
user,
|
||||
} from "~drizzle/schema";
|
||||
import { dualLogger } from "@loggers";
|
||||
import { LogLevel } from "~packages/log-manager";
|
||||
import type { Account as APIAccount } from "~types/mastodon/account";
|
||||
import type { Source as APISource } from "~types/mastodon/source";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue