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(); - }, -};