mirror of
https://github.com/bitwarden/server.git
synced 2025-01-12 20:20:37 +01:00
freshdesk now requires "Basic" to be appended to api key (#2786)
This commit is contained in:
parent
a4d637a9b3
commit
a4cb6e0900
@ -147,7 +147,7 @@ public class FreshdeskController : Controller
|
||||
{
|
||||
var freshdeskAuthkey = Convert.ToBase64String(Encoding.UTF8.GetBytes($"{_billingSettings.FreshdeskApiKey}:X"));
|
||||
var httpClient = _httpClientFactory.CreateClient("FreshdeskApi");
|
||||
request.Headers.Add("Authorization", freshdeskAuthkey);
|
||||
request.Headers.Add("Authorization", $"Basic {freshdeskAuthkey}");
|
||||
var response = await httpClient.SendAsync(request);
|
||||
if (response.StatusCode != System.Net.HttpStatusCode.TooManyRequests || retriedCount > 3)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user