Skip to content

Commit

Permalink
maybe fixed token usage
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhathcock committed May 14, 2024
1 parent c3cc1ac commit cc46525
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Build/Github.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static async Task BuildInstallers(string token, string runId)
var request = new HttpRequestMessage()
{
RequestUri = new Uri("https://api.github.com/repos/specklesystems/connector-installers/dispatches"),
Headers = { Authorization = new AuthenticationHeaderValue($"Token {token}") },
Headers = { Authorization = new AuthenticationHeaderValue("Token", token) },
Content = content
};
request.Headers.Add("X-GitHub-Api-Version", "2022-11-28");
Expand Down
1 change: 0 additions & 1 deletion Build/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ IEnumerable<string> GetFiles(string d)
{
throw new InvalidOperationException();
}
Console.WriteLine($"Found: {runId} and {token}");
await Github.BuildInstallers(token, runId).ConfigureAwait(false);
}
);
Expand Down

0 comments on commit cc46525

Please sign in to comment.