diff --git a/package-lock.json b/package-lock.json index e4b556f..da8a161 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16866,4 +16866,4 @@ } } } -} \ No newline at end of file +} diff --git a/server/routes/index.js b/server/routes/index.js index a98b3c6..a4c430d 100644 --- a/server/routes/index.js +++ b/server/routes/index.js @@ -1,10 +1,16 @@ -module.exports = [ - { - method: "GET", - path: "/get-types", - handler: "explorerController.getTypes", - config: { - policies: [], - }, +module.exports = { + "pass-data": { + type: "admin", + routes: [ + { + method: "GET", + path: "/get-types", + handler: "explorerController.getTypes", + config: { + policies: [], + // auth: false, + }, + }, + ], }, -]; +};