Browse Source

fix: remove unnecessary decorator

pull/6612/head
Pranav C 1 year ago
parent
commit
e65ee4f84f
  1. 1
      packages/nocodb/src/controllers/bulk-data-alias.controller.ts
  2. 2
      packages/nocodb/src/controllers/data-alias-nested.controller.ts

1
packages/nocodb/src/controllers/bulk-data-alias.controller.ts

@ -17,7 +17,6 @@ import { Acl } from '~/middlewares/extract-ids/extract-ids.middleware';
import { DataApiLimiterGuard } from '~/guards/data-api-limiter.guard';
@Controller()
@Throttle({ meta: {} })
@UseGuards(DataApiLimiterGuard, GlobalGuard)
export class BulkDataAliasController {
constructor(private bulkDataAliasService: BulkDataAliasService) {}

2
packages/nocodb/src/controllers/data-alias-nested.controller.ts

@ -8,14 +8,12 @@ import {
Request,
UseGuards,
} from '@nestjs/common';
import { Throttle } from '@nestjs/throttler';
import { DataAliasNestedService } from '~/services/data-alias-nested.service';
import { GlobalGuard } from '~/guards/global/global.guard';
import { Acl } from '~/middlewares/extract-ids/extract-ids.middleware';
import { DataApiLimiterGuard } from '~/guards/data-api-limiter.guard';
@Controller()
@Throttle({ meta: {} })
@UseGuards(DataApiLimiterGuard, GlobalGuard)
export class DataAliasNestedController {
constructor(private dataAliasNestedService: DataAliasNestedService) {}

Loading…
Cancel
Save