remove unneeded async from handler

This commit is contained in:
Bassel Kanso 2022-07-27 16:42:10 +03:00
parent db1f5710e2
commit 5620190597

View File

@ -102,7 +102,7 @@ module.exports = async ({ strapi }) => {
method: 'ALL', method: 'ALL',
path, path,
handler: [ handler: [
async (ctx, next) => { (ctx, next) => {
ctx.state.route = { ctx.state.route = {
info: { info: {
// Indicate it's a content API route // Indicate it's a content API route