fix: migration error on 2fa (#268)

This commit is contained in:
Charles GTE
2026-04-24 21:42:20 +02:00
committed by GitHub
parent e29846ae25
commit a1ec7dbec2
5 changed files with 201 additions and 198 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ import { generateFileUrl } from "@/features/storages/helpers";
import { Readable } from "node:stream";
import { env } from "@/env.mjs";
const BASE_DIR = path.join(env.PRIVATE_PATH, "/uploads");
const BASE_DIR = path.join(env.PRIVATE_PATH!, "/uploads");
export async function uploadLocal(
config: { baseDir?: string },