Here are some changes to keep codebase consistent across different Chapters.
It updates mongo version from 5 to 6 on every chapter as this version was used partially on Chapter 9 (Chapter 9/test/helper-docker.js) and on Chapter 13
Duplicates Chapter 9 improvements to Chapter 6:
Simplifies err on Chapter 6/plugins/error-handler.js
Removes the TODO and renames fastify argument to app on Chapter 6/routes/autohooks.js
Here are some changes to keep codebase consistent across different Chapters.
err
onChapter 6/plugins/error-handler.js
fastify
argument toapp
onChapter 6/routes/autohooks.js