Skip to content
Discussion options

You must be logged in to vote

I was able to fix the issue.

i found out that body parser middleware was registered twice in the kernel file

Server.middleware.register([
  () => import('@ioc:Adonis/Core/BodyParser'),
  () => import('@ioc:Adonis/Core/BodyParser'),
  () => import('@ioc:EidelLev/Inertia/Middleware'),
])

After removing the duplicated middleware and then the issue was fixed.

Thanks to those who tried to help.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by myckhel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant