@Controller('users')
export class UserController {
constructor(private readonly createUserService: CreateUserService){ }
@Post()
function create () {
return this.createUserService.execute({
name: 'Lucas Matheus',
email: '[email protected]',
age: 22
});
}
}
sirlucasm / kayn Goto Github PK
View Code? Open in Web Editor NEWThis project forked from cnguy/kayn
superagent-inspired Node.js lib (w/ **some** TypeScript support) for accessing Riot's League of Legend's API (discord: cnguy#3614)
License: MIT License