Skip to content

Commit fa5e839

Browse files
committed
feat(api): codegen for discussions
Signed-off-by: Adam Setch <[email protected]>
1 parent 4d97973 commit fa5e839

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

codegen.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ const config: CodegenConfig = {
1010
// Add a custom header for authorization using your PAT
1111
headers: {
1212
Authorization: `Bearer ${process.env.GITHUB_TOKEN}`,
13-
'User-Agent': 'GraphQL-Codegen-GitHub-Integration', // GitHub recommends a User-Agent header
1413
},
1514
},
1615
},
@@ -19,11 +18,9 @@ const config: CodegenConfig = {
1918
'!src/renderer/utils/api/graphql/generated/**',
2019
'!src/renderer/utils/api/**/*.test.ts',
2120
],
22-
// Configure generated outputs and plugins
2321
generates: {
2422
'src/renderer/utils/api/graphql/generated/': {
2523
preset: 'client',
26-
plugins: [],
2724
config: {
2825
documentMode: 'string',
2926
},

0 commit comments

Comments
 (0)