Skip to content

Commit

Permalink
chore: metric change
Browse files Browse the repository at this point in the history
  • Loading branch information
Fenopy committed Jul 19, 2024
1 parent 1d9f304 commit 46189dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Utilities/Metrics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static async void CountDownload(string packageName, string versionCode)

private static async Task<string> sendToApi(string apiUrl, string requestBody = null, string type = "get")
{
var authToken = "dnJwX21ldHJpYzo0SXVMaVdzYUpHYnBpWU12QWFjYVpn";
string token = "cm9va2llOkN0UHlyTE9oUGoxWXg1cE9KdDNBSkswZ25n";

using (var client = new HttpClient())
{
Expand Down Expand Up @@ -60,7 +60,7 @@ private static async Task<string> sendToApi(string apiUrl, string requestBody =
}

// Add headers to the request
request.Headers.Add("Authorization", authToken);
request.Headers.Add("Authorization", token);
request.Headers.Add("Origin", "rookie");

string responseContent = "";
Expand Down

0 comments on commit 46189dc

Please sign in to comment.