Skip to content
Snippets Groups Projects

Issue #3436853: Send entire API key for every API call

1 file
+ 1
2
Compare changes
  • Side-by-side
  • Inline
@@ -240,10 +240,9 @@ class GcNotifyApiService {
};
$apikey = $config->get($mode . '_apikey');
$secret = substr($apikey, -36);
$headers = [
'Content-type' => 'application/json',
'Authorization' => "ApiKey-v1 $secret",
'Authorization' => 'ApiKey-v1 ' . $apikey,
];
$request_body = json_encode($request_body);
Loading