summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2023-06-25 04:42:24 -0700
committeriximeow <me@iximeow.net>2023-06-25 04:42:24 -0700
commita10f2fdf88a1f3f3ea56901d5dc31a3a2e5a38ff (patch)
treec20947927076466ab40652ff6512feaa5a5db276 /src
parent09cc259010427173a32e6f4d50d9d6a413e4b246 (diff)
trim whitespace from auth secret file
Diffstat (limited to 'src')
-rw-r--r--src/ci_runner.rs2
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;