chore(format): auto-format files with biome

This commit is contained in:
MythEclipse
2026-06-04 18:52:56 +07:00
parent 367d8696c8
commit d1d4510ce8
33 changed files with 342 additions and 157 deletions
@@ -1,11 +1,11 @@
import { config } from "../../shared/config/config.js";
import { createChildLogger } from "@bete/shared/logger";
import { uploadToTele } from "./teleUpload.js";
import { config } from "../../shared/config/config.js";
import {
updateAttachmentAsFailedUpload,
updateAttachmentAsUploaded,
updateAttachmentDiscordUrl,
} from "../message-capture/messageStore.js";
import { uploadToTele } from "./teleUpload.js";
const logger = createChildLogger("attachment-uploader");
@@ -1,5 +1,5 @@
import sharp from "sharp";
import { createChildLogger } from "@bete/shared/logger";
import sharp from "sharp";
const log = createChildLogger("imageResizer");
@@ -37,14 +37,8 @@ export async function uploadToTele(input: {
timeoutMs?: number;
retries: number;
}): Promise<TeleUploadResult> {
const {
buffer,
filename,
contentType,
uploadUrl,
timeoutMs,
retries,
} = input;
const { buffer, filename, contentType, uploadUrl, timeoutMs, retries } =
input;
const response = await retryWithBackoff(
async () => {