不郑

Results 6 comments of 不郑

> If you have urgency for the fix, feel free to open a PR and I can merge it relatively fast. I work on this project in my spare time...

> you're problably using an old version. `@nestjs/cli@9` doesn't generate methods with `await` in it > > ![image](https://user-images.githubusercontent.com/13461315/179968547-ae3fd54a-bcd8-40a6-bd60-4099b7773657.png) > > https://github.com/nestjs/schematics/blob/6d3a1be4df72725bf16e5765406755b2f521ac82/src/lib/resource/files/ts/__name__.controller.ts#L25-L27 > > But yeah, using `ParseIntPipe` is better >...

> would you like to open a PR to add those `async` on them? sorry for late, I'd like to do~

> there's nothing sync here, `findOne` returns a promise, thus it's async. I prefer not having `return await` because is redundant (as there's no catch in there) Hi, I have...

```html 登录 忘记密码? 登录 立即注册 ```

```javascript const randomRGB = (min, max) => (Math.floor(Math.random() * (max + 1 - min)) + min).toString(16).padStart(2, '0'); // 均未做参数校验 // T1 function hexColorPad(input, withStart = true) { const hexRegex =...