Skip to content

An AI-powered search engine with a generative UI

Format r2 client after prettier run

Yoshiki Miura5ffda46a0ce4
diff --git a/lib/storage/r2-client.ts b/lib/storage/r2-client.ts
index e1c2c79b..fa76d91f 100644
--- a/lib/storage/r2-client.ts
+++ b/lib/storage/r2-client.ts
@@ -16,7 +16,9 @@ export function getR2Client(): S3Client {
const secretAccessKey = process.env.R2_SECRET_ACCESS_KEY
if (!accessKeyId || !secretAccessKey) {
- throw new Error('S3 configuration missing: R2_ACCESS_KEY_ID or R2_SECRET_ACCESS_KEY')
+ throw new Error(
+ 'S3 configuration missing: R2_ACCESS_KEY_ID or R2_SECRET_ACCESS_KEY'
+ )
}
if (!s3Endpoint && !accountId) {