From b7fc2cd92ee7245bdcdff61108471be8b3470d7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Thu, 12 May 2022 03:14:37 +0400 Subject: [PATCH] Rename api and content-type-name --- src/{teks/controllers/teks.js => awti/controllers/awti.js} | 2 +- src/{teks/routes/teks.js => awti/routes/awti.js} | 2 +- .../controllers/komante.js => komant/controllers/komant.js} | 2 +- src/{komante/routes/komante.js => komant/routes/komant.js} | 2 +- src/{awtis/controllers/awtis.js => tek/controllers/tek.js} | 2 +- src/{awtis/routes/awtis.js => tek/routes/tek.js} | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) rename src/{teks/controllers/teks.js => awti/controllers/awti.js} (55%) rename src/{teks/routes/teks.js => awti/routes/awti.js} (56%) rename src/{komante/controllers/komante.js => komant/controllers/komant.js} (53%) rename src/{komante/routes/komante.js => komant/routes/komant.js} (53%) rename src/{awtis/controllers/awtis.js => tek/controllers/tek.js} (55%) rename src/{awtis/routes/awtis.js => tek/routes/tek.js} (55%) diff --git a/src/teks/controllers/teks.js b/src/awti/controllers/awti.js similarity index 55% rename from src/teks/controllers/teks.js rename to src/awti/controllers/awti.js index 2d36cad..b5563db 100644 --- a/src/teks/controllers/teks.js +++ b/src/awti/controllers/awti.js @@ -1,3 +1,3 @@ const { createCoreController } = require('@strapi/strapi').factories; -module.exports = createCoreController('api::teks.teks') +module.exports = createCoreController('api::awti.awti') diff --git a/src/teks/routes/teks.js b/src/awti/routes/awti.js similarity index 56% rename from src/teks/routes/teks.js rename to src/awti/routes/awti.js index 6661c92..781f768 100644 --- a/src/teks/routes/teks.js +++ b/src/awti/routes/awti.js @@ -1,3 +1,3 @@ const { createCoreRouter } = require('@strapi/strapi').factories; -module.exports = createCoreRouter('api::teks.teks') +module.exports = createCoreRouter('api::awti.awti') diff --git a/src/komante/controllers/komante.js b/src/komant/controllers/komant.js similarity index 53% rename from src/komante/controllers/komante.js rename to src/komant/controllers/komant.js index aa85a8f..ea898f4 100644 --- a/src/komante/controllers/komante.js +++ b/src/komant/controllers/komant.js @@ -1,3 +1,3 @@ const { createCoreController } = require('@strapi/strapi').factories; -module.exports = createCoreController('api::komante.komante') +module.exports = createCoreController('api::komant.komant') diff --git a/src/komante/routes/komante.js b/src/komant/routes/komant.js similarity index 53% rename from src/komante/routes/komante.js rename to src/komant/routes/komant.js index 9694fc4..143f672 100644 --- a/src/komante/routes/komante.js +++ b/src/komant/routes/komant.js @@ -1,3 +1,3 @@ const { createCoreRouter } = require('@strapi/strapi').factories; -module.exports = createCoreRouter('api::komante.komante') +module.exports = createCoreRouter('api::komant.komant') diff --git a/src/awtis/controllers/awtis.js b/src/tek/controllers/tek.js similarity index 55% rename from src/awtis/controllers/awtis.js rename to src/tek/controllers/tek.js index 07b431f..13cdb66 100644 --- a/src/awtis/controllers/awtis.js +++ b/src/tek/controllers/tek.js @@ -1,3 +1,3 @@ const { createCoreController } = require('@strapi/strapi').factories; -module.exports = createCoreController('api::awtis.awtis') +module.exports = createCoreController('api::tek.tek') diff --git a/src/awtis/routes/awtis.js b/src/tek/routes/tek.js similarity index 55% rename from src/awtis/routes/awtis.js rename to src/tek/routes/tek.js index 1738722..5ae2d9e 100644 --- a/src/awtis/routes/awtis.js +++ b/src/tek/routes/tek.js @@ -1,3 +1,3 @@ const { createCoreRouter } = require('@strapi/strapi').factories; -module.exports = createCoreRouter('api::awtis.awtis') +module.exports = createCoreRouter('api::tek.tek')