Added 'saved': 0 by default if fetchDefault::dispatch error in dispatched method
This commit is contained in:
parent
0c5d528813
commit
21570a7328
|
@ -57,7 +57,7 @@
|
|||
|
||||
/* (4) Gestion erreur */
|
||||
if( $response->error->get() != Err::Success )
|
||||
return ['error' => new Error(Err::ModuleError)];
|
||||
return [ 'saved' => 0 ];
|
||||
|
||||
/* (5) Remontée du résultat */
|
||||
return [
|
||||
|
|
Loading…
Reference in New Issue