diff options
author | iximeow <me@iximeow.net> | 2023-06-25 04:42:24 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2023-06-25 04:42:24 -0700 |
commit | a10f2fdf88a1f3f3ea56901d5dc31a3a2e5a38ff (patch) | |
tree | c20947927076466ab40652ff6512feaa5a5db276 /src | |
parent | 09cc259010427173a32e6f4d50d9d6a413e4b246 (diff) |
trim whitespace from auth secret file
Diffstat (limited to 'src')
-rw-r--r-- | src/ci_runner.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ci_runner.rs b/src/ci_runner.rs index b4acf16..f78fdbc 100644 --- a/src/ci_runner.rs +++ b/src/ci_runner.rs @@ -384,7 +384,7 @@ async fn main() { let poll = client.post("https://ci.butactuallyin.space:9876/api/next_job") .header("user-agent", "ci-butactuallyin-space-runner") - .header("authorization", &secret) + .header("authorization", secret.trim()) .body(body) .send() .await; |