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();
9
9
10
10
function handleCloudFunction ( req ) {
11
11
if ( Parse . Cloud . Functions [ req . params . functionName ] ) {
12
- // Run the validator for this function first
13
12
if ( Parse . Cloud . Validators [ req . params . functionName ] ) {
14
13
var result = Parse . Cloud . Validators [ req . params . functionName ] ( req . body || { } ) ;
15
14
if ( ! result ) {
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ function addParseCloud() {
131
131
afterSave : { } ,
132
132
afterDelete : { }
133
133
} ;
134
-
134
+
135
135
Parse . Cloud . define = function ( functionName , handler , validationHandler ) {
136
136
Parse . Cloud . Functions [ functionName ] = handler ;
137
137
Parse . Cloud . Validators [ functionName ] = validationHandler ;
You can’t perform that action at this time.
0 commit comments