From d0d740bc3465c3576eeae86288d0cd35cbf1b098 Mon Sep 17 00:00:00 2001 From: tudacs Date: Sun, 17 Sep 2023 21:55:22 +0200 Subject: [PATCH] Rename import-count-field of return --- application/controllers/Api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Api.php b/application/controllers/Api.php index 447efd67..b9ebe0e5 100644 --- a/application/controllers/Api.php +++ b/application/controllers/Api.php @@ -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 ]); }