Skip to content
Snippets Groups Projects
Commit d678bb53 authored by Liam Morland's avatar Liam Morland
Browse files

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

parent 1cbff4d1
No related branches found
No related tags found
1 merge request!2Issue #3436853: Send entire API key for every API call
Pipeline #131925 passed with warnings
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment