We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 479a513 commit b1ff273Copy full SHA for b1ff273
src/app/api/report-issue/route.ts
@@ -12,9 +12,9 @@ export async function POST(request: NextRequest) {
12
);
13
}
14
15
- const githubToken = process.env.GITHUB_PAT;
16
- const githubOwner = process.env.GITHUB_OWNER || 'victorhuangwq';
17
- const githubRepo = process.env.GITHUB_REPO || 'story-to-manga';
+ const githubToken = process.env['GITHUB_PAT'];
+ const githubOwner = process.env['GITHUB_OWNER'] || 'victorhuangwq';
+ const githubRepo = process.env['GITHUB_REPO'] || 'story-to-manga';
18
19
if (!githubToken) {
20
console.error('GitHub PAT not configured');
0 commit comments