File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -127,20 +127,20 @@ export class GraphQLServerLambda {
127
127
debug : this . options . debug ,
128
128
}
129
129
} )
130
- return handler ( event , context , callbackFilter )
130
+ handler ( event , context , callbackFilter )
131
131
}
132
132
133
133
playgroundHandler = ( event , lambdaContext , callback ) => {
134
- return lambdaPlayground ( {
134
+ lambdaPlayground ( {
135
135
endpoint : this . options . endpoint ,
136
136
} ) ( event , lambdaContext , callback )
137
137
}
138
138
139
139
handler = ( event , lambdaContext , callback ) => {
140
140
if ( event . httpMethod === 'GET' ) {
141
- return this . playgroundHandler ( event , lambdaContext , callback )
141
+ this . playgroundHandler ( event , lambdaContext , callback )
142
142
} else {
143
- return this . graphqlHandler ( event , lambdaContext , callback )
143
+ this . graphqlHandler ( event , lambdaContext , callback )
144
144
}
145
145
}
146
146
}
You can’t perform that action at this time.
0 commit comments