Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit 0084e9e

Browse files
committed
fixed apollo config
1 parent bdde6f9 commit 0084e9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/events/apollo.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { ApolloServer } from 'apollo-server-lambda';
1+
const { ApolloServer } = require('apollo-server-lambda');
22

3-
import { schema } from '../api/schema';
3+
import { schema } from '../api';
44

55
const server = new ApolloServer({ schema });
66

0 commit comments

Comments
 (0)