fixing E-Mail

This commit is contained in:
schrom01 2023-09-26 00:05:49 +02:00
parent 74816f193b
commit e82490018c
1 changed files with 0 additions and 4 deletions

View File

@ -21,8 +21,6 @@ if(!is_dir($downloadDir)){
function doRequest($data, $filename, $username, $password)
{
echo "doing Request: ".json_encode($data);
echo "<br>";
$response = sendAPICompanySearchRequest($username, $password, $data);
$companyArray = json_decode($response, true);
$companyData = array();
@ -111,8 +109,6 @@ while($latesEndTime - time() > 60){
// if there are any requests to do, do the first
if(count($task['requests']) > 0) {
doRequest($task['requests'][0], str_replace(".json", ".csv", $downloadDir.'/'.$taskfiles[0]), $username , $password);
echo "Request done";
echo "<br>";
array_shift($task['requests']);
$taskString = json_encode($task);
$taskfile = fopen($taskDir.'/'.$taskfiles[0], 'w');