Version 2.0.6.3

This commit is contained in:
Timothy Baldridge 2020-06-14 13:55:58 -06:00
parent 70b73cd5dc
commit 5a8f8dc7cb

View File

@ -45,9 +45,10 @@ namespace Wabbajack.Common
/// <param name="value"></param>
public static async Task Send(string action, string value)
{
Utils.Log($"File hash check (-42) {GetMetricsKey()}");
var key = await GetMetricsKey();
Utils.Log($"File hash check (-42) {key}");
var client = new Http.Client();
client.Headers.Add((Consts.MetricsKeyHeader, await GetMetricsKey()));
client.Headers.Add((Consts.MetricsKeyHeader, key));
await client.GetAsync($"{Consts.WabbajackBuildServerUri}metrics/{action}/{value}");
}
}