docs(guides): Highlight appropriate code lines regarding the context (#3232)

This commit is contained in:
Stefan 2023-07-13 19:47:33 +02:00 committed by GitHub
parent 0f19e129d5
commit 8f29a02358
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'
// ...