From a71dada3f72c2fcf48e876f079e986ec0881caa9 Mon Sep 17 00:00:00 2001 From: Mark S Date: Tue, 8 Aug 2023 11:41:34 -0400 Subject: [PATCH] fix: base64-decode `cog.toml` contents --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 9bf89c5..894219e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -86,7 +86,7 @@ async fn pull_request(_event: PullRequestEventType, body: Json .await .ok() .and_then(|mut content| content.take_items().into_iter().next()) - .and_then(|cog| cog.content) + .and_then(|cog| cog.decoded_content()) .unwrap_or("".to_string()); // Parse the config file into Cocogitto `Settings` (falling