From a10f2fdf88a1f3f3ea56901d5dc31a3a2e5a38ff Mon Sep 17 00:00:00 2001
From: iximeow <me@iximeow.net>
Date: Sun, 25 Jun 2023 04:42:24 -0700
Subject: trim whitespace from auth secret file

---
 src/ci_runner.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

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;
-- 
cgit v1.1