File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import { SentryInterceptor } from '../../interceptors/sentry.interceptor.js';
2424import { IAISettingsAndWidgetsCreation , IRequestInfoFromTableV2 } from './ai-use-cases.interface.js' ;
2525import { RequestInfoFromTableDSV2 } from './application/data-structures/request-info-from-table.ds.js' ;
2626import { RequestInfoFromTableBodyDTO } from './application/dto/request-info-from-table-body.dto.js' ;
27+ import { ConnectionEditGuard } from '../../guards/connection-edit.guard.js' ;
2728
2829@UseInterceptors ( SentryInterceptor )
2930@Controller ( )
@@ -80,6 +81,7 @@ export class UserAIRequestsControllerV2 {
8081 status : 200 ,
8182 description : 'AI settings and widgets creation job has been queued.' ,
8283 } )
84+ @UseGuards ( ConnectionEditGuard )
8385 @Get ( '/ai/v2/setup/:connectionId' )
8486 public async requestAISettingsAndWidgetsCreation (
8587 @SlugUuid ( 'connectionId' ) connectionId : string ,
You can’t perform that action at this time.
0 commit comments