From 455a30ea41e22fc1d6ab0b8dd1721d88d55f20af Mon Sep 17 00:00:00 2001 From: Roy Klein Date: Fri, 15 Nov 2024 08:49:05 +0100 Subject: [PATCH 1/2] Update out-of-date link --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 03b07e3..f52a891 100644 --- a/app.js +++ b/app.js @@ -12,7 +12,7 @@ import { join } from 'desm' * import it in our testing suite and add this application as a subcomponent * of another Fastify application. The encapsulaton system, of Fastify will make sure * that you are not leaking dependencies and business logic. - * For more info, see https://www.fastify.io/docs/latest/Encapsulation/ + * For more info, see https://fastify.dev/docs/latest/Reference/Encapsulation */ export default async function (fastify, opts) { // It's very common to pass secrets and configuration From 0e86bbe00921de53dfd1bbee914a8975ad5eff25 Mon Sep 17 00:00:00 2001 From: Roy Klein Date: Fri, 15 Nov 2024 13:53:22 +0100 Subject: [PATCH 2/2] Fix typo in comment in elasticsearch.js --- plugins/elasticsearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/elasticsearch.js b/plugins/elasticsearch.js index 394d623..f421333 100644 --- a/plugins/elasticsearch.js +++ b/plugins/elasticsearch.js @@ -3,7 +3,7 @@ import fp from 'fastify-plugin' import { Client } from '@elastic/elasticsearch' /** - * A tipical usage of a plugin, is to expose an external service, + * A typical usage of a plugin, is to expose an external service, * such as a database. In this case we are exposing the Elasticsearch client * since the application uses elasticsearch as main datastore. * As you will see, inside this plugin we are not only exposing the