We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 680c7c4 commit df320a3Copy full SHA for df320a3
app/changelog/%5Fadmin/upload/route.tsx
@@ -23,7 +23,7 @@ const handler = async function handler(req: NextRequest) {
23
projectId: process.env.GOOGLE_PROJECT_ID,
24
credentials: {
25
client_email: process.env.GOOGLE_CLIENT_EMAIL,
26
- private_key: process.env.GOOGLE_PRIVATE_KEY,
+ private_key: `${process.env.GOOGLE_PRIVATE_KEY}`.split(String.raw`\n`).join('\n'),
27
},
28
});
29
const bucket = storage.bucket(`${process.env.GOOGLE_BUCKET_NAME}`);
0 commit comments