Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix example using db decorator on fastify instance #4406

Merged
merged 2 commits into from Nov 8, 2022
Merged

fix example using db decorator on fastify instance #4406

merged 2 commits into from Nov 8, 2022

Commits on Nov 8, 2022

  1. fix example using db decorator on fastify instance

    I believe the current docs are a typo/broken example, unless that's an undocumented syntax.  This change adds an example for both returning the value since we're using async/await, along with an example for still using `reply.send()` and then `await`ing `reply`.
    Michael Marti committed Nov 8, 2022
    Copy the full SHA
    d5a3335 View commit details
    Browse the repository at this point in the history
  2. remove semicolons

    Michael Marti committed Nov 8, 2022
    Copy the full SHA
    0a07247 View commit details
    Browse the repository at this point in the history