MCPcopy Index your code
hub / github.com/parse-community/parse-server / mountRoutes

Method mountRoutes

src/Routers/LogsRouter.js:6–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5export class LogsRouter extends PromiseRouter {
6 mountRoutes() {
7 this.route(
8 'GET',
9 '/scriptlog',
10 middleware.promiseEnforceMasterKeyAccess,
11 this.validateRequest,
12 req => {
13 return this.handleGET(req);
14 }
15 );
16 }
17
18 validateRequest(req) {
19 if (!req.config || !req.config.loggerController) {

Callers

nothing calls this directly

Calls 2

handleGETMethod · 0.95
routeMethod · 0.80

Tested by

no test coverage detected