diff --git a/src/api/article/routes/article.ts b/src/api/article/routes/article.ts index 21da406..5c36ce3 100644 --- a/src/api/article/routes/article.ts +++ b/src/api/article/routes/article.ts @@ -4,13 +4,4 @@ import { factories } from '@strapi/strapi'; -export default factories.createCoreRouter('api::article.article', { - config: { - find: { - auth: false - }, - findOne: { - auth: false - }, - }, -}); +export default factories.createCoreRouter('api::article.article'); diff --git a/src/api/article/routes/extend-article.ts b/src/api/article/routes/extend-article.ts index 151cb44..4faeeae 100644 --- a/src/api/article/routes/extend-article.ts +++ b/src/api/article/routes/extend-article.ts @@ -4,17 +4,11 @@ export default { method: 'GET', path: '/custom/articles/distinct-years', handler: 'api::article.article.distinctYears', - config: { - auth: false, - }, }, { method: 'GET', path: '/custom/articles/year/:year', handler: 'api::article.article.findByYear', - config: { - auth: false, - }, }, ] }; \ No newline at end of file diff --git a/src/api/collection-lookup/routes/collection-lookup.ts b/src/api/collection-lookup/routes/collection-lookup.ts index 67d0812..dc73214 100644 --- a/src/api/collection-lookup/routes/collection-lookup.ts +++ b/src/api/collection-lookup/routes/collection-lookup.ts @@ -4,13 +4,4 @@ import { factories } from '@strapi/strapi'; -export default factories.createCoreRouter('api::collection-lookup.collection-lookup', { - config: { - find: { - auth: false - }, - findOne: { - auth: false - }, - } -}); +export default factories.createCoreRouter('api::collection-lookup.collection-lookup'); diff --git a/src/api/event/routes/event.ts b/src/api/event/routes/event.ts index c94599f..bea7eaa 100644 --- a/src/api/event/routes/event.ts +++ b/src/api/event/routes/event.ts @@ -4,13 +4,4 @@ import { factories } from '@strapi/strapi'; -export default factories.createCoreRouter('api::event.event', { - config: { - find: { - auth: false - }, - findOne: { - auth: false - }, - } -}); +export default factories.createCoreRouter('api::event.event'); diff --git a/src/api/event/routes/extend-event.ts b/src/api/event/routes/extend-event.ts index 57e896b..3b2f716 100644 --- a/src/api/event/routes/extend-event.ts +++ b/src/api/event/routes/extend-event.ts @@ -4,17 +4,11 @@ export default { method: 'GET', path: '/custom/events/distinct-years', handler: 'api::event.event.distinctYears', - config: { - auth: false, - }, }, { method: 'GET', path: '/custom/events/year/:year', handler: 'api::event.event.findByYear', - config: { - auth: false, - }, }, ] }; \ No newline at end of file diff --git a/src/api/global/routes/global.ts b/src/api/global/routes/global.ts index 8215001..64d4aad 100644 --- a/src/api/global/routes/global.ts +++ b/src/api/global/routes/global.ts @@ -4,10 +4,4 @@ import { factories } from '@strapi/strapi'; -export default factories.createCoreRouter('api::global.global', { - config: { - find: { - auth: false - }, - } -}); +export default factories.createCoreRouter('api::global.global'); diff --git a/src/api/homepage/routes/homepage.ts b/src/api/homepage/routes/homepage.ts index d7627b2..14e14f2 100644 --- a/src/api/homepage/routes/homepage.ts +++ b/src/api/homepage/routes/homepage.ts @@ -4,10 +4,4 @@ import { factories } from '@strapi/strapi'; -export default factories.createCoreRouter('api::homepage.homepage', { - config: { - find: { - auth: false - }, - } -}); +export default factories.createCoreRouter('api::homepage.homepage'); diff --git a/src/api/operation/routes/extend-operation.ts b/src/api/operation/routes/extend-operation.ts index 1e827aa..05d9211 100644 --- a/src/api/operation/routes/extend-operation.ts +++ b/src/api/operation/routes/extend-operation.ts @@ -4,17 +4,11 @@ export default { method: 'GET', path: '/custom/operations/distinct-years', handler: 'api::operation.operation.distinctYears', - config: { - auth: false, - }, }, { method: 'GET', path: '/custom/operations/year/:year', handler: 'api::operation.operation.findByYear', - config: { - auth: false, - }, }, ] }; \ No newline at end of file diff --git a/src/api/operation/routes/operation.ts b/src/api/operation/routes/operation.ts index ef3301d..20295e3 100644 --- a/src/api/operation/routes/operation.ts +++ b/src/api/operation/routes/operation.ts @@ -4,13 +4,4 @@ import { factories } from '@strapi/strapi'; -export default factories.createCoreRouter('api::operation.operation', { - config: { - find: { - auth: false - }, - findOne: { - auth: false - }, - } -}); +export default factories.createCoreRouter('api::operation.operation'); diff --git a/src/api/page/routes/page.ts b/src/api/page/routes/page.ts index d773133..8e5ddfc 100644 --- a/src/api/page/routes/page.ts +++ b/src/api/page/routes/page.ts @@ -4,13 +4,4 @@ import { factories } from '@strapi/strapi'; -export default factories.createCoreRouter('api::page.page', { - config: { - find: { - auth: false - }, - findOne: { - auth: false - }, - } -}); +export default factories.createCoreRouter('api::page.page'); diff --git a/src/api/vehicle/routes/vehicle.ts b/src/api/vehicle/routes/vehicle.ts index 6763393..7fe170b 100644 --- a/src/api/vehicle/routes/vehicle.ts +++ b/src/api/vehicle/routes/vehicle.ts @@ -4,13 +4,4 @@ import { factories } from '@strapi/strapi'; -export default factories.createCoreRouter('api::vehicle.vehicle', { - config: { - find: { - auth: false - }, - findOne: { - auth: false - }, - } -}); +export default factories.createCoreRouter('api::vehicle.vehicle'); diff --git a/src/extensions/documentation/documentation/1.0.0/full_documentation.json b/src/extensions/documentation/documentation/1.0.0/full_documentation.json index bd6cc61..96ec17e 100644 --- a/src/extensions/documentation/documentation/1.0.0/full_documentation.json +++ b/src/extensions/documentation/documentation/1.0.0/full_documentation.json @@ -14,7 +14,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "x-generation-date": "2024-11-04T14:45:06.170Z" + "x-generation-date": "2024-11-05T07:32:30.586Z" }, "x-strapi-config": { "plugins": [