Browse Source

fix: add missing decorator

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5444/head
Pranav C 2 years ago
parent
commit
2f6bc42f81
  1. 13
      packages/nocodb-nest/src/modules/plugins/plugins.controller.ts

13
packages/nocodb-nest/src/modules/plugins/plugins.controller.ts

@ -1,4 +1,14 @@
import { Body, Controller, Get, HttpCode, Param, Patch, Post } from '@nestjs/common'
import {
Body,
Controller,
Get,
HttpCode,
Param,
Patch,
Post,
UseGuards,
} from '@nestjs/common';
import { GlobalGuard } from '../../guards/global/global.guard';
import { PagedResponseImpl } from '../../helpers/PagedResponse';
import { Acl } from '../../middlewares/extract-project-id/extract-project-id.middleware';
import { PluginsService } from './plugins.service';
@ -11,6 +21,7 @@ const blockInCloudMw = (_req, res, next) => {
};
@Controller()
@UseGuards(GlobalGuard)
export class PluginsController {
constructor(private readonly pluginsService: PluginsService) {}

Loading…
Cancel
Save