mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-24 11:29:08 +00:00
FEAT: update auth guard to patch method
This commit is contained in:
@@ -46,6 +46,10 @@ import { GrpcToHttpExceptionFilter } from 'src/error/grpc-to-http-exception.filt
|
||||
action = 'UPDATE';
|
||||
break;
|
||||
|
||||
case 'PATCH':
|
||||
action = 'UPDATE';
|
||||
break;
|
||||
|
||||
default:
|
||||
action = req.method;
|
||||
}
|
||||
@@ -209,7 +213,7 @@ export class PipelinesController {
|
||||
return response;
|
||||
}
|
||||
|
||||
@Patch(':id')
|
||||
@Patch('/:id')
|
||||
async updateByPatch(
|
||||
@Headers('Dadosfera-Lang') language,
|
||||
@Body() updatePipelineDto,
|
||||
|
||||
Reference in New Issue
Block a user