(req)
| 7 | |
| 8 | export class GraphQLRouter extends PromiseRouter { |
| 9 | async getGraphQLConfig(req) { |
| 10 | const result = await req.config.parseGraphQLController.getGraphQLConfig(); |
| 11 | return { |
| 12 | response: result, |
| 13 | }; |
| 14 | } |
| 15 | |
| 16 | async updateGraphQLConfig(req) { |
| 17 | if (req.auth.isReadOnly) { |
no outgoing calls
no test coverage detected