Skip to content
Discussion options

You must be logged in to vote

You have to validate it, as shown below.

const schema = Schema.create({
 term: Schema.string()
})

The params is not the query string. It is the route params. https://docs.adonisjs.com/guides/routing#route-parameters

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@paragrudani1
Comment options

Answer selected by galaczi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants