Skip to content

Commit

Permalink
Fix typings
Browse files Browse the repository at this point in the history
  • Loading branch information
anqqa committed Oct 29, 2019
1 parent e5fb204 commit 4cb7d29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/src/events/favorites/favorites.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Controller, HttpStatus, Response, UseGuards, UseInterceptors } from '@n
import { AuthGuard } from '@nestjs/passport';
import { ApiUseTags } from '@nestjs/swagger';
import {
BaseRouteName,
Crud,
CrudController,
CrudRequest,
Expand All @@ -28,7 +29,7 @@ import { FavoritesService } from './favorites.service';
maxLimit: 500,
},
routes: {
only: ['createOneBase', 'deleteOne', 'getManyBase'],
only: ['createOneBase', 'deleteOne', 'getManyBase'] as BaseRouteName[],
},
})
@ApiUseTags('Events')
Expand Down

0 comments on commit 4cb7d29

Please sign in to comment.