Rename import-count-field of return

This commit is contained in:
tudacs
2023-09-17 21:55:22 +02:00
parent 0ad31bb000
commit d0d740bc34

View File

@@ -227,7 +227,7 @@ class API extends CI_Controller {
};
http_response_code(201);
echo json_encode(['status' => 'created', 'type' => $obj['type'], 'string' => $obj['string'], 'created' => $return_count, 'messages' => $return_msg ]);
echo json_encode(['status' => 'created', 'type' => $obj['type'], 'string' => $obj['string'], 'imported_count' => $return_count, 'messages' => $return_msg ]);
}