@@ -126,7 +126,10 @@ module.exports = {
126126 100
127127 ) ,
128128 VALIDATOR . mongoIdValidator ( "body" , "application.team" , true ) ,
129- VALIDATOR . mongoIdValidator ( "body" , "teamId" , true )
129+ VALIDATOR . stringValidator ( "body" , "application.location.timeZone" , true ) ,
130+ VALIDATOR . stringValidator ( "body" , "application.location.country" , true ) ,
131+ VALIDATOR . stringValidator ( "body" , "application.location.city" , true ) ,
132+ VALIDATOR . mongoIdValidator ( "body" , "teamId" , true ) ,
130133 ] ,
131134
132135 updateConfirmationValidator : [
@@ -253,7 +256,10 @@ module.exports = {
253256 0 ,
254257 100
255258 ) ,
256- VALIDATOR . mongoIdValidator ( "body" , "application.team" , true )
259+ VALIDATOR . mongoIdValidator ( "body" , "application.team" , true ) ,
260+ VALIDATOR . stringValidator ( "body" , "application.location.timeZone" , true ) ,
261+ VALIDATOR . stringValidator ( "body" , "application.location.country" , true ) ,
262+ VALIDATOR . stringValidator ( "body" , "application.location.city" , true ) ,
257263 ] ,
258264 updateStatusValidator : [
259265 VALIDATOR . enumValidator (
0 commit comments