Prepare for adding VUCC_GRIDS

This commit is contained in:
phl0
2026-02-20 11:52:46 +01:00
parent 6d00adf9a3
commit cf96ddbad8
2 changed files with 7 additions and 7 deletions

View File

@@ -774,11 +774,8 @@ class API extends CI_Controller {
}
$this->load->model('logbook_model');
$query = $this->api_model->get_grids_worked_in_logbook($logbooks_locations_array, $band, $cnfm);
$arr = $this->api_model->get_grids_worked_in_logbook($logbooks_locations_array, $band, $cnfm);
http_response_code(201);
foreach($query->result() as $line) {
$arr[] = $line->gridsquare;
}
echo json_encode($arr);
} else {