@@ -61,7 +61,7 @@ const FEATURE_NAME = 'populator';
6161
6262 if ( ! validatedArgs . result ) {
6363 common . returnMessage ( obParams , 400 , "Invalid params: " + validatedArgs . errors . join ( ) ) ;
64- return false ;
64+ return true ;
6565 }
6666 const template = validatedArgs . obj ;
6767 if ( template . behavior && template . behavior . sequences && ! template . behavior . sequences . length ) {
@@ -70,7 +70,7 @@ const FEATURE_NAME = 'populator';
7070 }
7171 catch ( e ) {
7272 common . returnMessage ( obParams , 400 , "Invalid type for behavior!" ) ;
73- return false ;
73+ return true ;
7474 }
7575 }
7676
@@ -641,15 +641,15 @@ const FEATURE_NAME = 'populator';
641641 const obParams = ob . params ;
642642 if ( ! obParams . qstring . environment_id ) {
643643 common . returnMessage ( obParams , 401 , "Missing parameter environment_id" ) ;
644- return false ;
644+ return true ;
645645 }
646646 if ( ! obParams . qstring . template_id ) {
647647 common . returnMessage ( obParams , 401 , "Missing parameter template_id" ) ;
648- return false ;
648+ return true ;
649649 }
650650 if ( ! obParams . qstring . app_id ) {
651651 common . returnMessage ( obParams , 401 , "Missing parameter app_id" ) ;
652- return false ;
652+ return true ;
653653 }
654654 validateRead ( obParams , FEATURE_NAME , function ( ) {
655655 let startPos = 0 ;
@@ -717,11 +717,11 @@ const FEATURE_NAME = 'populator';
717717 const obParams = ob . params ;
718718 if ( ! obParams . qstring . environment_id ) {
719719 common . returnMessage ( obParams , 401 , "Missing parameter environment_id" ) ;
720- return false ;
720+ return true ;
721721 }
722722 if ( ! obParams . qstring . template_id ) {
723723 common . returnMessage ( obParams , 401 , "Missing parameter template_id" ) ;
724- return false ;
724+ return true ;
725725 }
726726 validateDelete ( obParams , FEATURE_NAME , function ( ) {
727727 common . db . collection ( 'populator_environment_users' ) . deleteMany ( {
0 commit comments