save importer instance on get source info importer #313

This commit is contained in:
vnmedeiros 2019-10-24 17:19:59 -03:00
parent 56b9e76aa1
commit 5fb6451e55
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ class REST_Importers_Controller extends REST_Controller {
if ( method_exists($importer, 'get_source_special_fields') ) { if ( method_exists($importer, 'get_source_special_fields') ) {
$response['source_special_fields'] = $importer->get_source_special_fields(); $response['source_special_fields'] = $importer->get_source_special_fields();
} }
$Tainacan_Importer_Handler->save_importer_instance($importer);
return new \WP_REST_Response( $response, 200 ); return new \WP_REST_Response( $response, 200 );
} }