fix: migration storage backend and also user avatar upload.

This commit is contained in:
charlesgauthereau
2026-01-18 11:45:36 +01:00
parent f29444a219
commit 3d695709d5
11 changed files with 251 additions and 132 deletions
+2 -1
View File
@@ -9,7 +9,6 @@ import {Readable} from "node:stream";
export async function GET(
request: Request,
{params}: { params: Promise<{ fileName: string }> }
) {
const {searchParams} = new URL(request.url);
@@ -37,6 +36,8 @@ export async function GET(
},
};
console.debug(input);
const result = await dispatchStorage(input, undefined, localStorageChannel.id);
if (!result.success) {