Browse Source

fix: add missing authguard

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5797/head
Pranav C 2 years ago
parent
commit
41329b5f82
  1. 4
      packages/nocodb/src/controllers/caches.controller.ts

4
packages/nocodb/src/controllers/caches.controller.ts

@ -1,8 +1,10 @@
import { Controller, Delete, Get } from '@nestjs/common';
import { Controller, Delete, Get, UseGuards } from '@nestjs/common';
import { GlobalGuard } from '../guards/global/global.guard';
import { Acl } from '../middlewares/extract-project-id/extract-project-id.middleware';
import { CachesService } from '../services/caches.service';
@Controller()
@UseGuards(GlobalGuard)
export class CachesController {
constructor(private readonly cachesService: CachesService) {}

Loading…
Cancel
Save