mirror of https://github.com/nocodb/nocodb
Pranav C
2 years ago
44 changed files with 83 additions and 67 deletions
@ -1,4 +1,7 @@ |
|||||||
import { Controller } from '@nestjs/common'; |
import { Controller, UseGuards } from '@nestjs/common' |
||||||
|
import { ExtractProjectIdMiddleware } from '../../../middlewares/extract-project-id/extract-project-id.middleware' |
||||||
|
import { AuthGuard } from '@nestjs/passport' |
||||||
|
|
||||||
@Controller('old-datas') |
@Controller() |
||||||
|
@UseGuards(ExtractProjectIdMiddleware, AuthGuard('jwt')) |
||||||
export class OldDatasController {} |
export class OldDatasController {} |
||||||
|
@ -1,8 +1,7 @@ |
|||||||
import { Controller } from '@nestjs/common'; |
import { Controller } from '@nestjs/common'; |
||||||
import { HookFiltersService } from './hook-filters.service'; |
import { HookFiltersService } from './hook-filters.service'; |
||||||
|
|
||||||
@Controller('hook-filters') |
@Controller() |
||||||
export class HookFiltersController { |
export class HookFiltersController { |
||||||
constructor(private readonly hookFiltersService: HookFiltersService) {} |
constructor(private readonly hookFiltersService: HookFiltersService) {} |
||||||
|
|
||||||
} |
} |
||||||
|
Loading…
Reference in new issue