Skip to content

Commit

Permalink
docs: Fixed DeleteBook signature in CRUD tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
EwenQuim committed Dec 5, 2024
1 parent 4deaaae commit 57f1083
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions documentation/docs/tutorials/02-crud.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ func UpdateBook(c *fuego.ContextWithBody[Book]) (Book, error) {
return Book{}, nil
}

func DeleteBook(c *fuego.ContextNoBody) error {
func DeleteBook(c *fuego.ContextNoBody) (any, error) {
// Your code here
return nil
return nil, nil
}

```

0 comments on commit 57f1083

Please sign in to comment.