fix a bug when 0 qsos are returned for pull api

This commit is contained in:
DB4SCW
2024-08-02 18:48:40 +00:00
parent 609e9e350b
commit 8266d3e8ee

View File

@@ -325,6 +325,7 @@ class API extends CI_Controller {
{
http_response_code(200);
echo json_encode(['status' => 'successfull', 'message' => 'No new QSOs available.', 'lastfetchedid' => $fetchfromid, 'exported_qsos' => 0, 'adif' => null]);
return;
}
//convert data to ADIF