Updated Tutorial (markdown)
parent
cb6ecd2299
commit
42d5aa1490
@ -17,9 +17,7 @@ export class AppController {
|
||||
}
|
||||
```
|
||||
|
||||
**Important:** This decorator package is only accepting asynchronous function for now.
|
||||
|
||||
So we should change things to use async.
|
||||
**Since version 2.1.0, all decorator can be used with sync function.**
|
||||
|
||||
```ts
|
||||
import { Controller, Get } from '@nestjs/common';
|
||||
|
Loading…
x
Reference in New Issue
Block a user