Skip to content

Commit

Permalink
docs(cookbook): response is not declared on controller method (adonis…
Browse files Browse the repository at this point in the history
  • Loading branch information
jitheshkt committed May 22, 2021
1 parent 846d33b commit 19b201c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export default class PostsController {
public async store({ request }: HttpContextContract) {
// delete-end
// insert-start
public async store({ request, session }: HttpContextContract) {
public async store({ request, session, response }: HttpContextContract) {
// insert-end

// ... Collapsed existing code
Expand Down

0 comments on commit 19b201c

Please sign in to comment.