Skip to content

Commit 52b54bf

Browse files
committed
use exported handler instead
1 parent c1948b5 commit 52b54bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/lambda/lib/apollo.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ exports.initialize = () => {
1616
exports.handleRequest = (request, context) => {
1717
const handlerPromise = new Promise((resolve, reject) => {
1818
const callback = (error, body) => (error ? reject(error) : resolve(body));
19-
return this.handler(request, context, callback);
19+
return exports.handler(request, context, callback);
2020
});
2121
return handlerPromise;
2222
};

0 commit comments

Comments
 (0)