8000 updated · wpcodevo/nextjs-typegraphql-api@c21f387 · GitHub
[go: up one dir, main page]

Skip to content

Commit c21f387

Browse files
committed
updated
1 parent 4e2c548 commit c21f387

File tree

16 files changed

+3
-3
lines changed

16 files changed

+3
-3
lines changed

pages/api/graphql.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { NextApiRequest, NextApiResponse } from 'next';
33
import { ApolloServer } from 'apollo-server-micro';
44
import { buildSchema } from 'type-graphql';
55
import Cors from 'cors';
6-
import { resolvers } from '../../src/resolvers';
7-
import { connectDB } from '../../src/utils/connectDB';
8-
import deserializeUser from '../../src/middleware/deserializeUser';
6+
import { resolvers } from '../../server/resolvers';
7+
import { connectDB } from '../../server/utils/connectDB';
8+
import deserializeUser from '../../server/middleware/deserializeUser';
99

1010
const cors = Cors({
1111
methods: ['GET', 'HEAD', 'POST', 'PUT', 'DELETE', 'PATCH', 'OPTIONS'],
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)
0