From a589feb7933f2b1ce7dd9e79cf30e1260204e41d Mon Sep 17 00:00:00 2001 From: david-vaclavek Date: Thu, 18 Apr 2024 12:04:03 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=B0=EF=B8=8F=20code:=20remove=20dead=20co?= =?UTF-8?q?de?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/controllers/index.js | 2 -- server/controllers/my-controller.js | 10 ---------- 2 files changed, 12 deletions(-) delete mode 100644 server/controllers/my-controller.js diff --git a/server/controllers/index.js b/server/controllers/index.js index 3158198..9eb5d0e 100644 --- a/server/controllers/index.js +++ b/server/controllers/index.js @@ -1,6 +1,5 @@ "use strict"; -const myController = require("./my-controller"); const localazyUserController = require("./localazy-user-controller"); const localazyAuthController = require("./localazy-auth-controller"); const strapiController = require("./strapi-controller"); @@ -9,7 +8,6 @@ const localazyTransferController = require("./localazy-transfer-controller"); const localazyProjectController = require("./localazy-project-controller"); module.exports = { - myController, localazyUserController, localazyAuthController, strapiController, diff --git a/server/controllers/my-controller.js b/server/controllers/my-controller.js deleted file mode 100644 index d25538a..0000000 --- a/server/controllers/my-controller.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; - -module.exports = { - index(ctx) { - ctx.body = strapi - .plugin("localazy") - .service("myService") - .getWelcomeMessage(); - }, -};