fix: type cast for storageEndpoint

This commit is contained in:
Christomatt
2026-02-01 05:04:30 +01:00
parent 78798732d9
commit 0cea2e9e1f
+1 -1
View File
@@ -77,7 +77,7 @@ export async function POST(request: Request) {
botAvatarUrl = await generateAndUploadAvatarToUserStorage(
botHandle,
user.storageEndpoint ?? undefined,
(user.storageEndpoint ?? undefined) as string | null | undefined,
user.storageRegion || 'auto',
user.storageBucket,
accessKeyId,