File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
x-pack/plugins/ingest_pipelines/server/routes/api Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,21 +9,21 @@ import { API_BASE_PATH } from '../../../common/constants';
99import { RouteDependencies } from '../../types' ;
1010
1111const paramsSchema = schema . object ( {
12- nameOrNames : schema . string ( ) ,
12+ names : schema . string ( ) ,
1313} ) ;
1414
1515export const registerDeleteRoute = ( { router, license } : RouteDependencies ) : void => {
1616 router . delete (
1717 {
18- path : `${ API_BASE_PATH } /{nameOrNames }` ,
18+ path : `${ API_BASE_PATH } /{names }` ,
1919 validate : {
2020 params : paramsSchema ,
2121 } ,
2222 } ,
2323 license . guardApiRoute ( async ( ctx , req , res ) => {
2424 const { callAsCurrentUser } = ctx . core . elasticsearch . dataClient ;
25- const { nameOrNames } = req . params ;
26- const pipelineNames = nameOrNames . split ( ',' ) ;
25+ const { names } = req . params ;
26+ const pipelineNames = names . split ( ',' ) ;
2727
2828 const response : { itemsDeleted : string [ ] ; errors : any [ ] } = {
2929 itemsDeleted : [ ] ,
You can’t perform that action at this time.
0 commit comments