mirror of
https://github.com/strapi/strapi.git
synced 2025-08-21 23:28:58 +00:00
remove unneeded async from handler
This commit is contained in:
parent
db1f5710e2
commit
5620190597
2
packages/plugins/graphql/server/bootstrap.js
vendored
2
packages/plugins/graphql/server/bootstrap.js
vendored
@ -102,7 +102,7 @@ module.exports = async ({ strapi }) => {
|
||||
method: 'ALL',
|
||||
path,
|
||||
handler: [
|
||||
async (ctx, next) => {
|
||||
(ctx, next) => {
|
||||
ctx.state.route = {
|
||||
info: {
|
||||
// Indicate it's a content API route
|
||||
|
Loading…
x
Reference in New Issue
Block a user