From e687b3fda3817b5ad01097f2024886870c0cf4de Mon Sep 17 00:00:00 2001 From: b1ek Date: Sat, 5 Aug 2023 23:58:42 +1000 Subject: [PATCH] uncomment pinging line (that was for debug purposes) --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 2348d3c..160420a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -121,7 +121,7 @@ async fn webhook(mut req: Request) -> tide::Result { let state = req.state().clone(); state.bot.send_message(state.chat.id, format!("New PR\n{} ({}#{}) by {}\n{}", pr.pull_request.title, pr.pull_request.head.repo.name, pr.pull_request.number, pr.pull_request.user.login, pr.pull_request.url)).await.unwrap(); - // state.bot.send_message(state.chat.id, "апрувните пж @bleki42 @balistiktw @x3paerz").await.unwrap(); + state.bot.send_message(state.chat.id, "апрувните пж @bleki42 @balistiktw @x3paerz").await.unwrap(); Ok( Response::builder(200)