Skip to content

Commit 4e6cd33

Browse files
Update versioning.md
docs(versioning): add closing curly brace
1 parent 8808353 commit 4e6cd33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/techniques/versioning.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,11 +311,11 @@ export class AppModule implements NestModule {
311311
configure(consumer: MiddlewareConsumer) {
312312
consumer
313313
.apply(LoggerMiddleware)
314-
.forRoutes({ path: 'cats', method: RequestMethod.GET, version: '2' );
314+
.forRoutes({ path: 'cats', method: RequestMethod.GET, version: '2' });
315315
}
316316
}
317317
```
318318

319319
With the code above, the `LoggerMiddleware` will only be applied to the version '2' of `/cats` endpoint.
320320

321-
> info **Notice** Middlewares work with any versioning type described in the this section: `URI`, `Header`, `Media Type` or `Custom`.
321+
> info **Notice** Middlewares work with any versioning type described in the this section: `URI`, `Header`, `Media Type` or `Custom`.

0 commit comments

Comments
 (0)