From 41329b5f82ac1b448300a82c09db187eefe1f51a Mon Sep 17 00:00:00 2001 From: Pranav C Date: Fri, 2 Jun 2023 15:07:34 +0530 Subject: [PATCH] fix: add missing authguard Signed-off-by: Pranav C --- packages/nocodb/src/controllers/caches.controller.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/nocodb/src/controllers/caches.controller.ts b/packages/nocodb/src/controllers/caches.controller.ts index 5f20616eb7..2a50bac00a 100644 --- a/packages/nocodb/src/controllers/caches.controller.ts +++ b/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) {}