mirror of
https://github.com/SkillDisplay/PHPToolKit.git
synced 2024-11-22 07:56:09 +01:00
[FIX] parameter array for issuing
This commit is contained in:
parent
04634f4278
commit
f765b1fbff
1 changed files with 5 additions and 7 deletions
|
@ -25,13 +25,11 @@ class Issuer {
|
|||
$requestData['SkillId'] = $ID;
|
||||
}
|
||||
|
||||
$requestData = [
|
||||
"Level" => $vtype,
|
||||
"VerifierId" => $this->settings->getVerifierID(),
|
||||
"Username" => $useremail,
|
||||
"AutoConfirm" => true,
|
||||
"Signature" => ''
|
||||
];
|
||||
$requestData['Level'] = $vtype;
|
||||
$requestData['VerifierId'] = $this->settings->getVerifierID();
|
||||
$requestData['Username'] = $useremail;
|
||||
$requestData['AutoConfirm'] = true;
|
||||
$requestData['Signature'] = '';
|
||||
|
||||
$json = json_encode($requestData);
|
||||
$signature = ($vtype==="self") ? 'sdself' : $this->settings->getUserSecret();
|
||||
|
|
Loading…
Reference in a new issue