Import the MP2 users lists
Import the MP2 users Add the table "imported_data_mapping" Add the function Helpers::mysql_date
This commit is contained in:
@ -18,7 +18,7 @@ class MP2Migrator extends APIEndpoint {
|
||||
*/
|
||||
public function import($data) {
|
||||
try {
|
||||
$process = $this->MP2Migrator->import(json_decode($data, true));
|
||||
$process = $this->MP2Migrator->import($data);
|
||||
return $this->successResponse($process);
|
||||
} catch(\Exception $e) {
|
||||
return $this->errorResponse(array(
|
||||
|
Reference in New Issue
Block a user