Skip to content

Commit 1841072

Browse files
committed
fix: use scoped path
1 parent 264b1fa commit 1841072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GraphQL/ParseGraphQLServer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class ParseGraphQLServer {
137137
if (typeof options.requestContextMiddleware !== 'function') {
138138
throw new Error('requestContextMiddleware must be a function');
139139
}
140-
api.use(options.requestContextMiddleware);
140+
api.use(this.config.graphQLPath, options.requestContextMiddleware);
141141
}
142142
}
143143

0 commit comments

Comments
 (0)