Fix authentication

This commit is contained in:
Kumi 2022-11-28 07:41:03 +00:00
parent b3535c64ae
commit ada1fdfdee
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -37,7 +37,7 @@ class Adonis {
$headers[] = "Accept: application/json";
if ($add_token == true) {
$headers[] = "Authentication_Token: " . $this->getToken($api);
$payload["Authentication_Token"] = $this->getToken($api);
}
if ($wrap_request == true) {