Skip to content

Commit

Permalink
Use correct authorization header
Browse files Browse the repository at this point in the history
  • Loading branch information
Gh0stWalk3r committed Aug 18, 2019
1 parent d16f91b commit c14b47e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static IHttpClientBuilder AddPushCrewHttpClient([ValidatedNotNull] this I
return validatedServiceCollection.AddHttpClient(PushCrewConfiguration.ClientName, client =>
{
client.BaseAddress = PushCrewConfiguration.BaseUri;
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("key", validatedApiToken);
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(validatedApiToken);
});
}
}
Expand Down

0 comments on commit c14b47e

Please sign in to comment.