25 lines
338 B
JavaScript
Raw Normal View History

2020-12-14 00:59:12 +01:00
'use strict';
/**
* sentry.js controller
*
* @description: A set of functions called "actions" of the `sentry` plugin.
*/
module.exports = {
/**
* Default action.
*
* @return {Object}
*/
index: async ctx => {
// Add your own logic here.
// Send 200 `ok`
ctx.send({
message: 'ok',
});
},
};