Skip to content

Commit d56f104

Browse files
authored
Fixed BFF code block (#252)
Signed-off-by: Noé Samaille <[email protected]> Signed-off-by: Noé Samaille <[email protected]>
1 parent 99063b7 commit d56f104

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/developer-intermediate/inventory-bff/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,8 @@ into javascript and to put the business logic in a separate service component.
383383
```
384384
385385
- Update the controller to inject the service and use it:
386-
```typescript title="src/import { Inject } from 'typescript-ioc';
386+
```typescript title="src/controllers/stock-items.controller.ts"
387+
import { Inject } from 'typescript-ioc';
387388
import { GET, Path } from 'typescript-rest';
388389
import { HttpError } from 'typescript-rest/dist/server/model/errors';
389390

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Do not use with Docker builds, only for local dev with mkdocs CLI
2-
mkdocs-material==8.3.9
2+
mkdocs-material==8.4.1
33
mkdocs-minify-plugin==0.5.0
44
mkdocs-redirects==1.0.3
55
git+https://github.com/linkchecker/[email protected]#egg=linkchecker

0 commit comments

Comments
 (0)