File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,6 @@ RestWrite.prototype.execute = function() {
62
62
return this . getUserAndRoleACL ( ) ;
63
63
} ) . then ( ( ) => {
64
64
return this . validateClientClassCreation ( ) ;
65
- } ) . then ( ( ) => {
66
- return this . validateSchema ( ) ;
67
65
} ) . then ( ( ) => {
68
66
return this . handleInstallation ( ) ;
69
67
} ) . then ( ( ) => {
@@ -72,6 +70,8 @@ RestWrite.prototype.execute = function() {
72
70
return this . validateAuthData ( ) ;
73
71
} ) . then ( ( ) => {
74
72
return this . runBeforeTrigger ( ) ;
73
+ } ) . then ( ( ) => {
74
+ return this . validateSchema ( ) ;
75
75
} ) . then ( ( ) => {
76
76
return this . setRequiredFieldsIfNeeded ( ) ;
77
77
} ) . then ( ( ) => {
@@ -176,7 +176,6 @@ RestWrite.prototype.runBeforeTrigger = function() {
176
176
if ( this . query && this . query . objectId ) {
177
177
delete this . data . objectId
178
178
}
179
- return this . validateSchema ( ) ;
180
179
}
181
180
} ) ;
182
181
} ;
You can’t perform that action at this time.
0 commit comments