From 8f29a023581d64a72499e7ebb8aec30a3b35d217 Mon Sep 17 00:00:00 2001 From: Stefan <33063780+stefanlatinovic@users.noreply.github.com> Date: Thu, 13 Jul 2023 19:47:33 +0200 Subject: [PATCH] docs(guides): Highlight appropriate code lines regarding the context (#3232) --- docs/guides/cli/service.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/cli/service.md b/docs/guides/cli/service.md index 314845b23..b06220df8 100644 --- a/docs/guides/cli/service.md +++ b/docs/guides/cli/service.md @@ -60,7 +60,7 @@ app.service(messagePath).hooks({ Note that you can add hooks to a specific method as documented in the [hook registration API](../../api/hooks.md#registering-hooks). For example, to use the [profiling hook](./hook.md#profiling-example) only for `find` and `get` the registration can be updated like this: -```ts{8-9} +```ts{12-13} import { profiler } from '../../hooks/profiler' // ...