Skip to content

Commit

Permalink
Update error message when graph ref and variant are specified (#6709)
Browse files Browse the repository at this point in the history
  • Loading branch information
prenner committed Aug 1, 2022
1 parent 10bc167 commit bd49975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/apollo-server-core/src/determineApolloConfig.ts
Expand Up @@ -50,7 +50,7 @@ export function determineApolloConfig(
if (graphVariant) {
throw new Error(
'Cannot specify both graph ref and graph variant. Please use ' +
'`apollo.graphRef` or `APOLLO_GRAPH_REF` without also setting the graph ID.',
'`apollo.graphRef` or `APOLLO_GRAPH_REF` without also setting the graph variant.',
);
}
} else if (graphId) {
Expand Down

0 comments on commit bd49975

Please sign in to comment.