mirror of
https://github.com/wiosna-dev/limesurvey-api-client.git
synced 2026-03-12 02:11:45 +01:00
Merge pull request #6 from wiosna-dev/feature/WZUW-781-from-tag-0.1.3
[WZUW-781] chore: added validfrom key upon creating a participant
This commit is contained in:
@@ -23,6 +23,7 @@ use Meritoo\LimeSurvey\ApiClient\Result\Item\Survey;
|
||||
use Meritoo\LimeSurvey\ApiClient\Result\Item\SurveySummary;
|
||||
use Meritoo\LimeSurvey\ApiClient\Type\MethodType;
|
||||
use Meritoo\LimeSurvey\ApiClient\Type\ReasonType;
|
||||
use Meritoo\Common\Utilities\Date;
|
||||
|
||||
/**
|
||||
* Service that serves surveys and participants of surveys
|
||||
@@ -301,6 +302,7 @@ class SurveyService
|
||||
'firstname' => $firstName,
|
||||
'lastname' => $lastName,
|
||||
'email' => $email,
|
||||
'validfrom' => date('Y-m-d h:i:s'),
|
||||
],
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user