diff --git a/src/Command/CleanMobileCommand.php b/src/Command/CleanMobileCommand.php index 7fcfe05..3b5ec8d 100644 --- a/src/Command/CleanMobileCommand.php +++ b/src/Command/CleanMobileCommand.php @@ -192,6 +192,7 @@ final class CleanMobileCommand extends Command if ($row['HANDY_E164']) { $uuid = Uuid::v4(); $study_id = "QMBEFR-" . $uuid->toString(); + $study_id_chain = "QMBEFR-SPENDE-" . $uuid->toString(); // Create a Contact entity for DB insertion $contact = new Contacts(); @@ -206,7 +207,7 @@ final class CleanMobileCommand extends Command $contact->setParsedFileLine(implode(';', $row)); try { - $this->http->request('POST', $this->backendApiURL . "/" . $study_id, [ + $this->http->request('POST', $this->backendApiURL . "/" . $study_id . "/" . $study_id_chain, [ 'body' => '', 'headers' => [], ]);