Skip to content

Commit

Permalink
Merge pull request #7689 from obrien-k/import-cjs-body-parser
Browse files Browse the repository at this point in the history
Update migration.mdx
  • Loading branch information
Meschreiber committed Aug 17, 2023
2 parents 76a60ad + 30210e0 commit daaa65d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/migration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ import { ApolloServerPluginDrainHttpServer } from '@apollo/server/plugin/drainHt
import express from 'express';
import http from 'http';
import cors from 'cors';
import { json } from 'body-parser';
import pkg from 'body-parser';
const { json } = pkg;
import { typeDefs, resolvers } from './schema';

interface MyContext {
Expand Down

0 comments on commit daaa65d

Please sign in to comment.