File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/cli/src/commands/codegen Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -126,28 +126,28 @@ async function gqltadaCodegen(options: {
126126 templateName = "Hasura" ;
127127 clientName = "hasura" ;
128128 fileName = "hasura" ;
129- output = `${ templateName } -schema.graphql` ;
129+ output = `${ fileName } -schema.graphql` ;
130130 break ;
131131 case "PORTAL" :
132132 gqlEndpoint = options . env . SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT ;
133133 templateName = "Portal" ;
134134 clientName = "portal" ;
135135 fileName = "portal" ;
136- output = `${ templateName } -schema.graphql` ;
136+ output = `${ fileName } -schema.graphql` ;
137137 break ;
138138 case "THE_GRAPH" :
139139 gqlEndpoint = options . env . SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT ;
140140 templateName = "TheGraph" ;
141141 clientName = "theGraph" ;
142142 fileName = "the-graph" ;
143- output = `${ templateName } -schema.graphql` ;
143+ output = `${ fileName } -schema.graphql` ;
144144 break ;
145145 case "THE_GRAPH_FALLBACK" :
146146 gqlEndpoint = options . env . SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT_FALLBACK ;
147147 templateName = "TheGraphFallback" ;
148148 clientName = "theGraphFallback" ;
149149 fileName = "the-graph-fallback" ;
150- output = `${ templateName } -schema.graphql` ;
150+ output = `${ fileName } -schema.graphql` ;
151151 break ;
152152 }
153153
You can’t perform that action at this time.
0 commit comments