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['SkillId'] = $ID;
|
||||||
}
|
}
|
||||||
|
|
||||||
$requestData = [
|
$requestData['Level'] = $vtype;
|
||||||
"Level" => $vtype,
|
$requestData['VerifierId'] = $this->settings->getVerifierID();
|
||||||
"VerifierId" => $this->settings->getVerifierID(),
|
$requestData['Username'] = $useremail;
|
||||||
"Username" => $useremail,
|
$requestData['AutoConfirm'] = true;
|
||||||
"AutoConfirm" => true,
|
$requestData['Signature'] = '';
|
||||||
"Signature" => ''
|
|
||||||
];
|
|
||||||
|
|
||||||
$json = json_encode($requestData);
|
$json = json_encode($requestData);
|
||||||
$signature = ($vtype==="self") ? 'sdself' : $this->settings->getUserSecret();
|
$signature = ($vtype==="self") ? 'sdself' : $this->settings->getUserSecret();
|
||||||
|
|
Loading…
Reference in a new issue