14 lines
333 B
TypeScript
14 lines
333 B
TypeScript
import type { Core } from '@strapi/strapi';
|
|
|
|
const controller = ({ strapi }: { strapi: Core.Strapi }) => ({
|
|
index(ctx) {
|
|
ctx.body = strapi
|
|
.plugin('strapi-plugin-checkbox-list')
|
|
// the name of the service file & the method.
|
|
.service('service')
|
|
.getWelcomeMessage();
|
|
},
|
|
});
|
|
|
|
export default controller;
|