File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ module.exports = [
33
33
( req , res , next ) => {
34
34
const logger = req . log ;
35
35
logger . debug ( 'Entered Admin#index' ) ;
36
- const projectIdStart = Number ( req . body . param . projectIdStart ) ;
37
- const projectIdEnd = Number ( req . body . param . projectIdEnd ) ;
38
- const indexName = _ . get ( req , 'body.param. indexName' , ES_PROJECT_INDEX ) ;
39
- const docType = _ . get ( req , 'body.param. docType' , ES_PROJECT_TYPE ) ;
36
+ const projectIdStart = Number ( req . body . projectIdStart ) ;
37
+ const projectIdEnd = Number ( req . body . projectIdEnd ) ;
38
+ const indexName = _ . get ( req , 'body.indexName' , ES_PROJECT_INDEX ) ;
39
+ const docType = _ . get ( req , 'body.docType' , ES_PROJECT_TYPE ) ;
40
40
logger . debug ( 'projectIdStart' , projectIdStart ) ;
41
41
logger . debug ( 'projectIdEnd' , projectIdEnd ) ;
42
42
logger . debug ( 'indexName' , indexName ) ;
Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ module.exports = [
32
32
( req , res , next ) => {
33
33
const logger = req . log ;
34
34
logger . debug ( 'Entered Admin#deleteIndex' ) ;
35
- const projectIdStart = Number ( req . body . param . projectIdStart ) ;
36
- const projectIdEnd = Number ( req . body . param . projectIdEnd ) ;
37
- const indexName = _ . get ( req , 'body.param. indexName' , ES_PROJECT_INDEX ) ;
38
- const docType = _ . get ( req , 'body.param. docType' , ES_PROJECT_TYPE ) ;
35
+ const projectIdStart = Number ( req . body . projectIdStart ) ;
36
+ const projectIdEnd = Number ( req . body . projectIdEnd ) ;
37
+ const indexName = _ . get ( req , 'body.indexName' , ES_PROJECT_INDEX ) ;
38
+ const docType = _ . get ( req , 'body.docType' , ES_PROJECT_TYPE ) ;
39
39
logger . debug ( 'projectIdStart' , projectIdStart ) ;
40
40
logger . debug ( 'projectIdEnd' , projectIdEnd ) ;
41
41
logger . debug ( 'indexName' , indexName ) ;
You can’t perform that action at this time.
0 commit comments