Skip to content

Commit

Permalink
Update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil.mysliwiec committed May 5, 2017
1 parent a0251f4 commit c394385
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions example/modules/users/users.controller.ts
Expand Up @@ -2,15 +2,15 @@ import * as express from 'express';
import { UsersService } from './users.service';
import { Controller, Response, Body, Param } from './../../../src/';
import { Get, Post } from '../../../src/common/utils/decorators/request-mapping.decorator';
import { HttpStatus, Inject } from '../../../src/common/index';
import { HttpStatus } from '../../../src/common/index';
import { ExceptionFilters } from '../../../src/common/utils/decorators/exception-filters.decorator';
import { CustomExceptionFilter } from './exception.filter';

@Controller('users')
@ExceptionFilters(CustomExceptionFilter)
export class UsersController {
constructor(
@Inject('UsersService') private usersService) {}
private usersService: UsersService) {}

@Get()
public async getAllUsers(@Response() res: express.Response) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "nest.js",
"version": "1.0.2",
"version": "1.0.3",
"description": "Modern, fast, powerful node.js web framework",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit c394385

Please sign in to comment.