mirror of
https://github.com/strapi/strapi.git
synced 2025-12-25 14:14:10 +00:00
Fix generate-controller templates: typo on method
This commit is contained in:
parent
58f4e4667d
commit
a18434faa0
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
// exampleAction: async (ctx, next) {
|
||||
// exampleAction: async (ctx, next) => {
|
||||
// try {
|
||||
// ctx.body = 'ok';
|
||||
// } catch (err) {
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
// exampleAction: async (ctx, next) {
|
||||
// exampleAction: async (ctx, next) => {
|
||||
// try {
|
||||
// ctx.body = 'ok';
|
||||
// } catch (err) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user