File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ var router = new PromiseRouter();
99
1010function handleCloudFunction ( req ) {
1111 if ( Parse . Cloud . Functions [ req . params . functionName ] ) {
12- // Run the validator for this function first
1312 if ( Parse . Cloud . Validators [ req . params . functionName ] ) {
1413 var result = Parse . Cloud . Validators [ req . params . functionName ] ( req . body || { } ) ;
1514 if ( ! result ) {
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ function addParseCloud() {
131131 afterSave : { } ,
132132 afterDelete : { }
133133 } ;
134-
134+
135135 Parse . Cloud . define = function ( functionName , handler , validationHandler ) {
136136 Parse . Cloud . Functions [ functionName ] = handler ;
137137 Parse . Cloud . Validators [ functionName ] = validationHandler ;
You can’t perform that action at this time.
0 commit comments