mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
fix a bug when 0 qsos are returned for pull api
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user