Fix generate-controller templates: typo on method

This commit is contained in:
Luca Perret 2017-12-12 18:22:07 +01:00
parent 58f4e4667d
commit a18434faa0
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
*/
module.exports = {
// exampleAction: async (ctx, next) {
// exampleAction: async (ctx, next) => {
// try {
// ctx.body = 'ok';
// } catch (err) {

View File

@ -5,7 +5,7 @@
*/
module.exports = {
// exampleAction: async (ctx, next) {
// exampleAction: async (ctx, next) => {
// try {
// ctx.body = 'ok';
// } catch (err) {