Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Oct 13, 2023
1 parent db48343 commit e76e069
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions examples/apollo-federation/gateway/gateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ const { createYoga, maskError } = require('graphql-yoga');
const { getStitchedSchemaFromSupergraphSdl } = require('@graphql-tools/federation');

module.exports.gateway = async function gateway(config) {

const schema = getStitchedSchemaFromSupergraphSdl(config)
const schema = getStitchedSchemaFromSupergraphSdl(config);

const yoga = createYoga({
schema,
Expand Down
2 changes: 1 addition & 1 deletion examples/apollo-federation/service/yoga.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { GraphQLError } = require('graphql');
const { buildSubgraphSchema } = require('@apollo/subgraph');
const { createYoga } = require('graphql-yoga');

const typeDefs = require('./typeDefs.js')
const typeDefs = require('./typeDefs.js');

const resolvers = {
Query: {
Expand Down

0 comments on commit e76e069

Please sign in to comment.