fix: type error - storageEndpoint null to undefined

This commit is contained in:
Christomatt
2026-02-01 02:58:29 +01:00
parent 1f171e127f
commit 8ea7fb75eb
+1 -1
View File
@@ -70,7 +70,7 @@ export async function POST(request: Request) {
botAvatarUrl = await generateAndUploadAvatarToUserStorage(
botHandle,
user.storageEndpoint,
user.storageEndpoint ?? undefined,
user.storageRegion || 'auto',
user.storageBucket,
user.storageAccessKeyEncrypted,